March 20, 2006
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 )


March 22, 2006
> The real problem is that num_get.c and _sstream.c are full of __in and __out

Every identificator that begins with '__' (double underscore) is reserved for internal compiler use,
so you shouldn't be using those. The same is for underscore followed with 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.