[ros-kernel] Some recent header changes

art yerkes ayerkes at speakeasy.net
Sat Jul 10 10:57:13 CEST 2004


On Sat, 10 Jul 2004 16:01:03 +0200
Filip Navara <xnavara at volny.cz> wrote:

> art yerkes wrote:
> 
> >Some recent checkins are breaking the build for me.  The main one is
> >a change to tchar.h that does include_next <tchar.h>.  I don't have
> >another one, so this fails.
> >

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.  Could it
be that tools/winebuild should not have __USE_W32API set?

The error I get compiling tools/winebuild is this:

make: Entering directory `/home/arty/reactos/reactos/tools/winebuild'
gcc -D__USE_W32API -D__REACTOS__ -I../../include -I../../include/wine -I../../w32api/include -c import.c -o import.o
In file included from ../../include/tgetopt.h:4,
                 from ../../include/getopt.h:1,
                 from /usr/include/unistd.h:775,
                 from ../../include/wine/port.h:44,
                 from import.c:23:
../../include/tchar.h:43:24: tchar.h: No such file or directory
In file included from ../../include/getopt.h:1,
                 from /usr/include/unistd.h:775,
                 from ../../include/wine/port.h:44,
                 from import.c:23:
../../include/tgetopt.h:38: error: syntax error before '*' token
... -- more errors due to missing wchar_t

> >I'm missing the prototypes for NtGdiGetFontData, and _tsplitpath as
> >well.  I fixed my tree temporarily, but do I need new versions of
> >the w32api headers or anything like that?
> >  
> >
> The prototype for NtGdiGetFontData is in reactos/include/win32k/font.h.

Sorry, this was because I had my include dir sticky to make tchar.h
always update to 1.10.
-- 
Hey, Adam Smith, keep your invisible hands to yourself!


More information about the Ros-kernel mailing list