Archives
D Programming
DD.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++ - C: <stdio.h> doesn't compile with -A
dmc -A fails on C programs that include <string.h> as the first standard header file. This is because <string.h> typedefs wchar_t only if __STDC__ is not defined, yet regardless of the existence of __STDC__ it declares a couple of functions that use wchar_t . By the way, isn't wchar_t a part of standard C anyway? Best regards, Marcin Apr 24 2003
Oops. Sorry for my mistake in the subject of my previous message. <string.h> does not compile with dmc -A in C mode, if and only if it is the first included header. I use dmc version 8.33. Marcin Apr 25 2003
|