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

changes ???


hi there,
 a friend of mine wrote a c++ library.
 now i'm trying to compile the stuff with g++ 3.2
 and it does not like stuff like

void myMethod (bla=0,bla2=defaultValue2) ...

 when it comes again in the definition/implementation file (.cc/.cpp).
 so you have to specify the default argument values only once in the
 header / declaration.

 my question : IS THERE ANY OPTION / WAY TO TELL THE NEW G++ TO FORGET
 ABOUT STUFF LIKE THAT, I.E. TO BEHAVE LIKE THE OLDER VERSIONS ?

regards

ole christian krause-sparmann (i am not in the list)



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