c++ - compilation error
- jlhortal (14/14) Mar 20 2006 sc TEST2.cpp -cpp -r -mn -C -WA -S -3 -a8 -c -gf -D_STLP_NEW_PLATFORM_SD...
- pinzo correo.nu (12/14) Mar 22 2006 Every identificator that begins with '__' (double underscore) is reserve...
sc TEST2.cpp -cpp -r -mn -C -WA -S -3 -a8 -c -gf -D_STLP_NEW_PLATFORM_SDK
-D_CONSOLE=1 -IC:\DigitalMars\stlport\stlport -oTEST2.obj
Error: C:\PROYECTOS\DM\TEST2.CPP(3): '=', ';' or ',' expected
Lines Processed: 2 Errors: 1 Warnings: 0
Build failed
int main()
{
bool __in = false;
return 0;
}
( same error with __out instead __in )
The real problem is that num_get.c and _sstream.c are full of __in and __out
( I'm trying to compile a large program. If I change the __in and __out with
other names everything is fine )
Mar 20 2006
The real problem is that num_get.c and _sstream.c are full of __in and==__outEvery identificator that begins with '__' (double underscore) is reserve= d = for internal compiler use, so you shouldn't be using those. The same is for underscore followed wit= h = an uppercase. If you really want to use those names (again, you shouldn't) you'll = probably need some preprocessor trick, maybe '#undef __in'. Regards. Rodrigo.
Mar 22 2006








pinzo correo.nu