[ros-kernel] Some recent header changes
Ge van Geldorp
gvg at reactos.com
Sun Jul 11 00:43:00 CEST 2004
> From: art yerkes
>
> The suspicious change that breaks the build for me is at
> 1.11, where #include_next <tchar.h> was added in here. I
> should say that I'm compiling on linux, and that the only
> instances of tchar.h that I have are in the mingw headers and
> in include/tchar.h. AFAIK, the mingw header should not be
> included in host tools, given that they may be cross
> compiled. Should I have the mingw include dir in the HOST_CC
> search set? I'm not sure why the 1.10 to 1.11 change was
> needed as reactos compiles ok for me if I update that file -r
> 1.10.
My fault. I needed a definition for _tsplitpath for
apps/utils/shutdown/shutdown.c and rather than adding it to our
incomplete tchar.h I added the __USE_W32API test and #include_next. This
works fine on Windows but not on Linux because tchar.h isn't in the
w32api package but in the "standard" MinGW headers. Should be fixed in
CVS now, with my apologies.
Ge van Geldorp.
More information about the Ros-kernel
mailing list