Hi,
two problems:
1. yestarday: out-of-tree compilation of fresh gretl-git produced
following errors (gcc-11, clang-14, aocc-4):
make[1]: Entering directory '/home/ubuntu/cvs/gretl-git/build_gcc/po'
cd ../../po && : --update bg.po gretl.pot
cd ../../po && rm -f bg.gmo && : -c --statistics -o bg.gmo bg.po
mv: cannot stat 't-bg.gmo': No such file or directory
make[1]: *** [Makefile:323: ../../po/bg.gmo] Error 1
make[1]: Leaving directory '/home/ubuntu/cvs/gretl-git/build_gcc/po'
make: *** [Makefile:73: po] Error 2
2. today: out-of-tree recompilation produced the following (gcc-12,
clang-15):
../../gui/textbuf.c:5040:14: error: cannot combine with previous
'type-name' declaration specifier
gboolean bool;
^
/usr/lib/llvm-15/lib/clang/15.0.6/include/stdbool.h:20:14: note:
expanded from macro 'bool'
#define bool _Bool
^
../../gui/textbuf.c:5040:5: warning: declaration does not declare
anything [-Wmissing-declarations]
gboolean bool;
^~~~~~~~~~~~~
../../gui/textbuf.c:5047:10: error: expected identifier or '('
bool = gtk_text_view_get_editable(tv1);
^
../../gui/textbuf.c:5048:37: error: expected expression
gtk_text_view_set_editable(tv2, bool);
^
/usr/lib/llvm-15/lib/clang/15.0.6/include/stdbool.h:20:14: note:
expanded from macro 'bool'
#define bool _Bool
^
../../gui/textbuf.c:5049:43: error: expected expression
gtk_text_view_set_cursor_visible(tv2, bool);
^
/usr/lib/llvm-15/lib/clang/15.0.6/include/stdbool.h:20:14: note:
expanded from macro 'bool'
#define bool _Bool
^
../../gui/textbuf.c:5053:7: error: expected identifier or '('
bool = gtk_source_view_get_show_line_numbers(GTK_SOURCE_VIEW(w1));
^
../../gui/textbuf.c:5054:61: error: expected expression
gtk_source_view_set_show_line_numbers(GTK_SOURCE_VIEW(w2), bool);
^
/usr/lib/llvm-15/lib/clang/15.0.6/include/stdbool.h:20:14: note:
expanded from macro 'bool'
#define bool _Bool
Marcin
--
Marcin Błażejowski
Show replies by date