c++ - C: <stdio.h> doesn't compile with -A
-
mciura star.iinf.polsl.gliwice.pl
(9/9)
Apr 24 2003
dmc -A fails on C programs that include
- Marcin Ciura (6/6) Apr 25 2003 Oops.
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