1 Nov 2004 17:49
Re: Antwort: Re: problems compiling libusb-win32 (mingw 3.4.0)
Daniel Miller <dan <at> imi-test.com>
2004-11-01 16:49:39 GMT
2004-11-01 16:49:39 GMT
Stephan Meyer <Stephan.Meyer <at> iav.de> wrote in
news:OF3ED3F42C.AC1D5DDC-ONC1256F3B.0023C600-C1256F3B.0023D80E <at> retarus.de
:
> I searched the internet regarding this compiler error and it seems
> that gcc reports errors in its own header files if source files
> contain illegal code/characters before the #include statements.
> So is it possible that you accidentally modified the file registry.c?
> Please try to remove everything from registry.c before the #include
> statements or just try to compile a fresh download of libusb.
>
> For instance if I insert an 'a' character in the first line of
> registry.c (before the comments) then I get the following errors:
>
> [ snip ]
Well, that is entirely too wierd... There indeed was an extra letter
inserted at the beginning of registry.c... only *that* particular file can
cause this problem?? Now I'm frightened!!! Anyway, that fixed the
problem, and this file now compiles. I'm still having some other problems,
but it looks like they're caused by problems with my winddk installation,
and I likely can solve those myself.
Thanks for you help!!
Dan Miller
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
(Continue reading)
RSS Feed