i686-w64-mingw32-gcc & ntifs.h
Sat Aug 20 01:08:00 GMT 2011
On 8/20/2011 02:39, Sam Steingold wrote:
>> * Corinna Vinschen <email@example.com> [2011-08-19 14:00:44 +0200]:
>> On Aug 19 18:19, JonY wrote:
>>> On 8/19/2011 07:37, Sam Steingold wrote:
>>>>> * JonY <firstname.lastname@example.org> [2011-08-19 06:39:03 +0800]:
>>>>> You are supposed to use -I to add the ddk path to gcc.
>>>> I mean, -Iddk does not work because I do not have ddk directory in my
>>>> build directory.
>>>> how do I ask i686-w64-mingw32-gcc to print
>>>> /usr/i686-w64-mingw32/sys-root/mingw/include/ ??
>>> Try i686-w64-mingw32-gcc -print-sysroot and append /mingw/include/ddk.
>> Or just use -I=/mingw/include/ddk
> cool trick, thanks.
> now I am still getting those zillions of errors like
> /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h:2922:26: error: redeclaration of enumerator `WinRestrictedCodeSid'
> /usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h:2681:413: note: previous definition of `WinRestrictedCodeSid' was here
> what about those?
afaik, you aren't supposed to use use winnt.h and ntddk code together,
but I'm not sure this is accidental, I'll try to the devs and see if
they have something.
Kai, what do you think?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 196 bytes
Desc: OpenPGP digital signature
More information about the Cygwin