changes ???

Ole Christian Krause-Sparmann ole@binarchy.net
Sun Jun 22 13:25:00 GMT 2003


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)




More information about the Gcc-help mailing list