HI,
I'm in the process of converting a large project from GCC C++ to CW9. I'm running into the compiler error about error with the default value eg:
myClass::function1(MemPtr var, Boolean ok = false)
the compile errors out. If I remove the default value of false it will compile. How do I fix this problem?
Default arguments are supported in CodeWarrior's C++ compiler, but CW isn't as lenient as GCC with their use. The big case where the CW compiler will complain is if you declare the function with default parameters, and then repeat the default parameters in the function definition.
-- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS Technical Lead, Metrowerks For programming help, see http://www.palmoswerks.com/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
