shadow compilers dislike glib2 2.62
Building gate on a system which has glib2 version 2.62.0 installed fails with gcc 4.4 or smatch; the primary compiler is fine.
An example of the kinds of errors seen:
cc1: warnings being treated as errors
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
These are because glib2 >= 2.62 suppresses warnings about deprecated declarations in header
files using pragma
"GCC diagnostic ignored \"-Wdeprecated-declarations\""
This is not supported before GCC 4.6
/onbld/bin/i386/smatch: /usr/include/glib-2.0/glib/gspawn.h:76:22: error: Expect
ed } at end of specifier¶
Updated by Electric Monk over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit e6615f1000c4c6e6b8e18bdc6b077002bdd22526 Author: Andy Fiddaman <email@example.com> Date: 2019-09-18T13:35:59.000Z 11684 shadow compilers dislike glib2 2.62 Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Dominik Hassler <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>