Re: Illegal default arguments in CW 9.3

2010-07-11 Thread Luc Le Blanc
That's already the case.

-- 
Luc Le Blanc
http://www.speleo.qc.ca/Auriga


Lionscribe wrote:

> Make sure you have the default paramater only in the function
> declaration, not in the implementation.

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Illegal default arguments in CW 9.3

2010-07-11 Thread Lionscribe
Make sure you have the default paramater only in the function declaration,
not in the implementation.

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Illegal default arguments in CW 9.3

2010-07-08 Thread Luc Le Blanc
I compile my C code with C++ options in order to enjoy some "advanced"
features like default parameters. But sometimes in my (only) project,
the compiler complains a function has "illegal default parameters", such as:

void PanMapToShot( Boolean info = true );

Yet I have no other function of that name. How can it work most of
the time, but not always?


Luc Le Blanc
http;//www.speleo.qc.ca/Auriga
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/