[kaffe] Cygwin & Compile Problem
Jim Pick
jim@kaffe.org
31 Aug 2002 23:11:38 -0700
I'm not sure exactly what is going wrong. I do know the headers that
kaffe seems to find varies from cygwin install to cygwin install. It
does compile on my system, but you will probably need to experiment with
the ordering of the #include lines to figure out what's conflicting on
your system.
If you do figure it out, please post your patch - then I'll try it here
too. It wasn't working for me on my system until I removed the winnt.h
#include's - but I just figured that out via try-and-error, so I don't
have a lot of confidence that I did the right thing for the general
case.
Cheers,
- jim
On Thu, 2002-08-29 at 18:43, Daniel Kasmeroglu wrote:
> Hi there, I've just checked out the source for kaffe
> and tried to compile it but it fails and I'm curious
> about the cause:
>
> /usr/include/w32api/winspool.h:239: two or more data types in declaration
> of `type name'
> /usr/include/w32api/winspool.h:254: two or more data types in declaration
> of `type name'
> /usr/include/w32api/winspool.h:275: two or more data types in declaration
> of `type name'
> /usr/include/w32api/winspool.h:300: two or more data types in declaration
> of `type name'
> /usr/include/w32api/winspool.h:446: two or more data types in declaration
> of `type name'
> /usr/include/w32api/winspool.h:469: two or more data types in declaration
> of `type name'
>
> The mentioned lines are always keeping a declaration
> like this:
>
> DWORD Status;
>
> which always is a part of a compound type
> definition. There's another member, too which
> is named 'pStatus' but it's obvious that the
> identifiers are only similar and not identical.
> Is there anyone who has an idea what I'm doing
> wrong.
>
> Ciao
> Kasimir aka Daniel Kasmeroglu
>
>
> _______________________________________________
> kaffe mailing list
> kaffe@kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe