[Bug target/39616] Stage 2 Werror - trunk revision 145459 - libcpp/identifiers.c:113: error: variably modified 'proxy_assertion_broken' at file scope
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 7 06:55:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39616
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
extern char proxy_assertion_broken[offsetof (struct cpp_hashnode, ident) == 0 ?
1 : -1];
offsetof needs to be a constant expression but the openbsd definition is not
(pointer are not part of an integral constant expression). OpenBSD also
disable all use of gcc supplied headers so only a fixincludes can be done but
since that is for a 7 year old OS which is most likely not used any more.
More information about the Gcc-bugs
mailing list