|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For some reason the configure scripts fail to pass `-std=gnu99` to GCC
even though the code uses C99 features (and presumably GNU extensions,
although I haven't checked that).
This was leading to compile failures like this in Epiphany:
ephy-filters-manager.c: In function 'remove_old_adblock_filters':
ephy-filters-manager.c:207:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (GList *l = current_files; l != NULL; l = l->next) {
^
ephy-filters-manager.c:207:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
ephy-filters-manager.c: In function 'update_adblock_filter_files':
ephy-filters-manager.c:244:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (guint i = 0; filters[i]; i++) {
^
Makefile:797: recipe for target 'libephymisc_la-ephy-filters-manager.lo' failed
make[4]: *** [libephymisc_la-ephy-filters-manager.lo] Error 1
And similar things in GNOME Control Centre.
|