This is the mail archive of the gcc-bugs@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]

g++ 2.96 problem


Hi,

% cat xyu.ii
# 1 "xyu.cc"                                                                                                                
int ff(int compl){return(0);}
% g++ -v xyu.ii
Reading specs from /home/igor/local/gcc-2.96/lib/gcc-lib/sparc-sun-solaris2.7/2.96/specs
gcc version 2.96 20000605 (experimental)
 /home/igor/local/gcc-2.96/lib/gcc-lib/sparc-sun-solaris2.7/2.96/cc1plus xyu.ii -quiet -version -fpreprocessed -o
+/var/tmp/cc2ubAER.s
GNU C++ version 2.96 20000605 (experimental) (sparc-sun-solaris2.7) compiled by GNU C version 2.96 20000605 (experimental).
xyu.cc:1: parse error before `)'

If I change variable compl to anything else, it works.  So the
question is, is compl a reserved word for C++?  It wasn't the
case in g++ 2.95.x

Thanks

Igor

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