Luc,
Make sure you are conpiling the file as C++ and do use the .cpp extension. I
use this construct all the time with no problems.
Luis,
From: llebl...@cam.org
To: palm-dev-forum@news.palmos.com
Subject: Suddenly, CW 9.3 C++ refuses default function argument
Date: Thu, 28 May 2009
Under CW 9.3, I compile my C code as C++. I often use optional arguments for
functions in my project, but suddenly, the compuler refuses a new one (in the
very same project):
It is declared in a single header file:
Boolean ReadSurveyShotForm( FormPtr form, Boolean quickMode = false );
and