From: James Tabor
It build on a windows box, right? It worked on my wifes XP
here, but it did build right?
Actually, no. I do have bison installed and the *.tab.[ch] files are
generated, but there are some other compilation problems:
gcc -D__REACTOS__ -D__USE_W32API -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x501
-DWINVER=0x501 -D_STDDEF_H -I../../include/wine -I../../include
-I../../w32api/include -pipe -march=i486 -D_M_IX86 -g -c msi.c -o msi.o
In file included from ../../include/wine/initguid.h:26,
from msi.c:41:
../../include/wine/guiddef.h:41:1: warning: "DEFINE_OLEGUID" redefined
In file included from ../../w32api/include/rpcdce.h:10,
from ../../w32api/include/rpc.h:40,
from ../../w32api/include/windows.h:82,
from ../../include/windows.h:37,
from ../../w32api/include/rpc.h:2,
from ../../w32api/include/objbase.h:3,
from ../../include/wine/objbase.h:27,
from ../../w32api/include/shlwapi.h:12,
from ../../include/wine/shlwapi.h:10,
from msi.c:30:
../../w32api/include/basetyps.h:168:1: warning: this is the location of the
previous definition
In file included from ../../include/wine/initguid.h:26,
from msi.c:41:
../../include/wine/guiddef.h:71:1: warning: "IsEqualIID" redefined
In file included from ../../include/wine/objbase.h:27,
In file included from ../../include/wine/objbase.h:27,
from ../../include/wine/commdlg.h:7,
from ../../w32api/include/windows.h:86,
from ../../include/windows.h:37,
from ../../w32api/include/rpc.h:2,
from ../../w32api/include/objbase.h:3,
from ../../include/wine/objbase.h:27,
from ../../w32api/include/shlwapi.h:12,
from ../../include/wine/shlwapi.h:10,
from msi.c:30:
../../w32api/include/objbase.h:72:1: warning: this is the location of the
previous definition
In file included from ../../include/wine/initguid.h:26,
from msi.c:41:
../../include/wine/guiddef.h:72:1: warning: "IsEqualCLSID" redefined
In file included from ../../include/wine/objbase.h:27,
from ../../include/wine/commdlg.h:7,
from ../../w32api/include/windows.h:86,
from ../../include/windows.h:37,
from ../../w32api/include/rpc.h:2,
from ../../w32api/include/objbase.h:3,
from ../../include/wine/objbase.h:27,
from ../../w32api/include/shlwapi.h:12,
from ../../include/wine/shlwapi.h:10,
from msi.c:30:
../../w32api/include/objbase.h:73:1: warning: this is the location of the
previous definition
msi.c:1380: error: conflicting types for 'MsiGetFileVersionW'
msi.c:1365: error: previous implicit declaration of 'MsiGetFileVersionW' was
here
msi.c: In function `MsiGetFileVersionW':
msi.c:1395: warning: passing arg 1 of `GetFileVersionInfoSizeW' discards
qualifiers from pointer target type
msi.c:1405: warning: passing arg 1 of `GetFileVersionInfoW' discards
qualifiers from pointer target type
msi.c:1410: warning: passing arg 2 of `VerQueryValueW' discards qualifiers
from pointer target type
make: *** [msi.o] Error 1
Haven't looked into it in detail so this could be a problem with my local
build environment.
Best regards, Ge.