At 08.52 09/07/2003, Robert Collins wrote:
On Wed, 2003-07-09 at 16:42, Henrik Nordstrom wrote: > On Wednesday 09 July 2003 01.53, Robert Collins wrote: > > > > std::ostringstream *Debug::currentDebug (NULL); > > > Hmm.. doesn't that have to be something like this? > > std::ostringstream (*Debug::currentDebug)(NULL);
Huh? not AFAIK. std::ostringstream *Debug::CurrentDebug(NULL); , if we substitute variable for Debug::CurrentDebug, and int for std::ostringstream, becomes
int *variable(NULL);
which is clearly a pointer to an int, initialised with NULL.
Guido, if you want to try an alternative syntax, you could try:
std::ostringstream * Debug::CurrentDebug = NULL;
It seems that MS VC++ with this syntax is more happy, the new errors in debug.cc are gone.
Thanks
Regards
Guido
Rob -- GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
- ======================================================== Guido Serassio Acme Consulting S.r.l. Via Gorizia, 69 10136 - Torino - ITALY Tel. : +39.011.3249426 Fax. : +39.011.3293665 Email: [EMAIL PROTECTED] WWW: http://www.acmeconsulting.it/
