------- Comment #1 from joseph at codesourcery dot com  2009-04-08 14:49 -------
Subject: Re:   New: Stage 2 Werror - trunk revision
 145459 -  libcpp/identifiers.c:113: error: variably modified
'proxy_assertion_broken'
 at file scope

On Fri, 3 Apr 2009, rob1weld at aol dot com wrote:

> /home/user/gcc_trunk/libcpp/identifiers.c:113: error: variably modified
> 'proxy_assertion_broken' at file scope
> /home/user/gcc_trunk/libcpp/identifiers.c:113: error: ISO C90 forbids array
> 'proxy_assertion_broken' whose size can't be evaluated

This suggests the code is getting the wrong definition of offsetof.  It 
should be getting the one in GCC's own <stddef.h> or another one 
compatible with recent GCC (using __builtin_offsetof).  Since 
config/t-openbsd causes GCC's version not to be used, OpenBSD's version 
needs to use __builtin_offsetof; if it doesn't, you need either to fix it 
with fixincludes or make GCC use its own version again.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39616

Reply via email to