[cfe-dev] error on __extension__

Chris Lattner clattner at apple.com
Fri Aug 10 13:57:20 PDT 2007


On Aug 10, 2007, at 1:43 PM, Patrick Flannery wrote:

> 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

Looks like we just missed it in one place, try now :)

Thanks for the bug report.

-Chris





More information about the cfe-dev mailing list