error parsing inline functions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

error parsing inline functions

manavender reddy
Hi,

I have written a program to print functions names in a file. But when i have an inline function, i get an error saying unknow type name "inline". How can i resolve this problem ? 


Thanks
Manavender

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: error parsing inline functions

Eli Friedman
On Sat, Aug 14, 2010 at 10:47 PM, manavender reddy
<[hidden email]> wrote:
> Hi,
> I have written a program to print functions names in a file. But when i have
> an inline function, i get an error saying unknow type name "inline". How can
> i resolve this problem ?

It sounds like your LangOptions aren't set appropriately; perhaps you
should be setting C99 or GNUMode to 1?

-Eli
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev