[cfe-dev] error on __extension__
Patrick Flannery
foster_flannery at yahoo.com
Fri Aug 10 13:43:38 PDT 2007
When trying to compile,
__extension__ typedef struct
{
long long int quot;
long long int rem;
}lldiv_t;
Which is taken from gcc's stdlib.h. I receive the error "expected identifier or '('." My guess for a fix is that ParseDecl::ParseDeclarationSpecifiers will have to be modified to include another case of the form
case tok::kw__extension__:
ConsumeToken();
continue;
The clang/README.txt stated that __extension__ should be ignored at this time. And this would do that.
Any suggestions would be appreciated.
Patrick
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
More information about the cfe-dev
mailing list