Re: Handling 'initializer element not constant' error
- From: Ben Pfaff <blp@xxxxxxxxxxxxxxx>
- Date: Wed, 07 May 2008 15:46:39 -0700
richard@xxxxxxxxxxxxxxx (Richard Tobin) writes:
In article <87abj1u4q4.fsf@xxxxxxxxxxxxxxxx>,
Ben Pfaff <blp@xxxxxxxxxxxxxxx> wrote:
The C standard recognises the problems with errno and doesn't require
it to be an identifier.
It's definitely an identifier.
Obviously "errno" is an identifier. I should have said that it's a
macro that doesn't have to expand to an identifier.
However, it might not be the name of a variable with external linkage.
It might not expand to the name of a variable at all.
Right. That's one way that it might not be the name of a
variable with external linkage.
--
char a[]="\n .CJacehknorstu";int putchar(int);int main(void){unsigned long b[]
={0x67dffdff,0x9aa9aa6a,0xa77ffda9,0x7da6aa6a,0xa67f6aaa,0xaa9aa9f6,0x11f6},*p
=b,i=24;for(;p+=!*p;*p/=4)switch(0[p]&3)case 0:{return 0;for(p--;i--;i--)case+
2:{i++;if(i)break;else default:continue;if(0)case 1:putchar(a[i&15]);break;}}}
.
- References:
- Handling 'initializer element not constant' error
- From: Gowtham
- Re: Handling 'initializer element not constant' error
- From: vippstar
- Re: Handling 'initializer element not constant' error
- From: Richard Tobin
- Re: Handling 'initializer element not constant' error
- From: Ben Pfaff
- Re: Handling 'initializer element not constant' error
- From: Richard Tobin
- Handling 'initializer element not constant' error
- Prev by Date: Re: pointer to integer to pointer conversions
- Next by Date: Re: lcc first experience
- Previous by thread: Re: Handling 'initializer element not constant' error
- Next by thread: Re: Handling 'initializer element not constant' error
- Index(es):
Relevant Pages
|