in reply to XS problems on win32
Isn't stopwatch::new() C++ syntax, but your file is called stopwatch.c, which by default will be compiled as a C rather than C++ source file. I don't see any switch (like: /TP) that would cause it to be otherwise.
I don't have a file called cstudio(.h?) installed on my version of the compiler, so I can't look inside to see if that also contains C++ syntax. If it does, and it is included from a .c source file, that would perhaps explain the syntax errors?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XS problems on win32
by talwyn (Monk) on Dec 11, 2005 at 17:43 UTC |