This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

parse error before `PARAMS' ? help please.


I have been trying to figure out why when I include a
GCC header that contains a prototype such as:

extern int toplev_main PARAMS ((int, char **));

the compiler returns:

toplev.h:29: parse error before `PARAMS'

I am coming from a strong Java background and have
been programming in C++ for a little while now. I
think I remember this PARAMS keyword being mentioned
in the C book (Kernighan-Ritchie). Is it an older C
function style or is some kind of macro specific to
GCC?

Guidance is this regard would be greatly appreciated!

Thank You,
-Guy

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]