This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
parse error before `PARAMS' ? help please.
- From: Guy Montag <theguymontag at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 1 Sep 2002 12:37:03 -0700 (PDT)
- Subject: 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