GCC rejecting (I think) valid code

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Jan 22 23:30:00 GMT 2005


"Sam Lauber" <sam124@operamail.com> writes:

| I compile this pair of declarations with GCC (which would 
| probably be found in a stdint.h):
| 
| typedef short int16_t;
| typedef unsigned int16_t uint16_t;

I don't have the C90 standard text, but I can say that the above is
invalid in C++ (which is based on C90).

-- 
                                                       Gabriel Dos Reis 
                                           gdr@integrable-solutions.net



More information about the Gcc mailing list