www.digitalmars.com         C & C++   DMDScript  

c++ - -A and stdlib.h

I do not really need the -A, but it is useful to check things out.
So, I have a little problem:

sc -A -cpp -J -mn -o+time -D_WINDOWS -f -5 -a8 -c -D_WIN32 -DDEBUG -DSTATIC
-I.. -o..\anim_animators.obj ..
\anim_animators.cc 
sc -A -cpp -J -mn -o+time -D_WINDOWS -f -5 -a8 -c -D_WIN32 -DDEBUG -DSTATIC
-I.. -o..\anim_constraint.obj ..
\anim_constraint.cc 
sc -A -cpp -J -mn -o+time -D_WINDOWS -f -5 -a8 -c -D_WIN32 -DDEBUG -DSTATIC
-I.. -o..\anim_interactor.obj ..
\anim_interactor.cc 
sc -A -cpp -J -mn -o+time -D_WINDOWS -f -5 -a8 -c -D_WIN32 -DDEBUG -DSTATIC
-I.. -o..\button_widgets.obj ..
\button_widgets.cc 
sc -A -cpp -J -mn -o+time -D_WINDOWS -f -5 -a8 -c -D_WIN32 -DDEBUG -DSTATIC
-I.. -o..\command_basics.obj ..
\command_basics.cc 
sc -A -cpp -J -mn -o+time -D_WINDOWS -f -5 -a8 -c -D_WIN32 -DDEBUG -DSTATIC
-I.. -o..\dialog_widgets.obj ..
\dialog_widgets.cc 
sc -A -cpp -J -mn -o+time -D_WINDOWS -f -5 -a8 -c -D_WIN32 -DDEBUG -DSTATIC
-I.. -o..\dynarray.obj ..\dynarray.cc 
sc -A -cpp -J -mn -o+time -D_WINDOWS -f -5 -a8 -c -D_WIN32 -DDEBUG -DSTATIC
-I.. -o..\editing_commands.obj ..
\editing_commands.cc 
sc -A -cpp -J -mn -o+time -D_WINDOWS -f -5 -a8 -c -D_WIN32 -DDEBUG -DSTATIC
-I.. -o..\formula.obj ..\formula.cc 
Error: H:\C\SCDM\BIN\..\include\stdlib.h(108): missing ',' between declaration
of '__CLIB' and '_doserrno'
Error: H:\C\SCDM\BIN\..\include\stdlib.h(112): '__CLIB' previously declared as
something else
H:\C\SCDM\BIN\..\include\stdlib.h(112): It was declared as: int 
H:\C\SCDM\BIN\..\include\stdlib.h(112): It is now declared: double 
Error: H:\C\SCDM\BIN\..\include\stdlib.h(114): missing ',' between declaration
of '__CLIB' and 'atoi'
Error: H:\C\SCDM\BIN\..\include\stdlib.h(115): '__CLIB' previously declared as
something else
H:\C\SCDM\BIN\..\include\stdlib.h(115): It was declared as: int 
H:\C\SCDM\BIN\..\include\stdlib.h(115): It is now declared: long 
Fatal Error: H:\C\SCDM\BIN\..\include\stdlib.h(116): too many errors
Lines Processed: 69214  Errors: 5  Warnings: 0
Build failed

Jean-Pierre
Apr 27 2003