April 24, 2003 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 |
April 25, 2003 C: <string.h> doesn't compile with -A [was: <stdio.h> ...] | ||||
---|---|---|---|---|
| ||||
Posted in reply to mciura | 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 |
Copyright © 1999-2021 by the D Language Foundation