pkgconfig: use the -std=gnu90 flag to compile#1458
pkgconfig: use the -std=gnu90 flag to compile#145806393993 wants to merge 1 commit intobazel-contrib:mainfrom
Conversation
... otherwise, the compilation of pkgconfig may fail with the following
error when compiling glib:
CC libglib_2_0_la-goption.lo
goption.c:169:14: error: two or more data types in declaration specifiers
169 | gboolean bool;
| ^~~~
|
Hey there, what is the impact of adding this flag when using newer compilers ? Do you mean that glib is still fully gnu90 ? |
I think this issue only happens with newer compilers, because I will check with some new compilers I can use recently and update.
I don't know the exact C standard they use, but the glib 2.38.2 bundled with Footnotes |
|
Just tried the pkg-config 0.29.2 listed at https://pkgconfig.freedesktop.org/releases/, configure simply with Footnotes |
|
As of glib itself, they get rename the field from |
... otherwise, the compilation of pkgconfig may fail with the following error when compiling glib: