msvcrt vs std incl

Dimitrie O. Paun dpaun at
Tue Nov 19 08:59:34 CST 2002

On November 19, 2002 09:46 am, Dimitrie O. Paun wrote:
> [dimi at dimi wine]$ gcc -nostdinc -fshort-wchar -I /home/dimi/dev/wine/wine.src/include/msvcrt -I /home/dimi/dev/wine/wine.src/include test.c

Hm, maybe we need the standard headers after all.
Even though this might create confusion. 

Nevertheless, they solve only part of the problem:

[dimi at dimi wine]$ gcc -fshort-wchar -I /home/dimi/dev/wine/wine.src/include/msvcrt -I /home/dimi/dev/wine/wine.src/include test.c
test.c: In function `main':
test.c:8: `wchar_t' undeclared (first use in this function)
test.c:8: (Each undeclared identifier is reported only once
test.c:8: for each function it appears in.)

This shouldn't have, should it?


More information about the wine-devel mailing list