www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.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