Re: problem compile with gcc

2008-10-30 Thread bjoe
Dear Dave, Thank to this quick answer, I finally able to resolve this problem by including ntdef.h. But with your solution I can compile it in native cygwin without -mno-cygwin. Regards, On Fri, Oct 24, 2008 at 01:03:14PM +0100, Dave Korn wrote: > bjoe wrote on 24 October 2008 11:24: > > > #in

RE: problem compile with gcc

2008-10-24 Thread Dave Korn
bjoe wrote on 24 October 2008 11:24: > #include ^ Remove this. It isn't supported on cygwin, although it is when doing a mingw cross-compile ('-mno-cygwin'). > #include ^ Missing header dependency; needs "#include " before this line. cheers,

Re: problem compile with gcc

2008-10-24 Thread bjoe
On Mon, Oct 20, 2008 at 03:05:48AM -0700, Brian Dessent wrote: > bjoe wrote: > > > The thing that confusing me is the error came from w32api packages, > > not from source code. Maybe someone in this list can explain to me > > about what going on here. > > You haven't provided enough information,

Re: problem compile with gcc

2008-10-20 Thread Brian Dessent
bjoe wrote: > The thing that confusing me is the error came from w32api packages, > not from source code. Maybe someone in this list can explain to me > about what going on here. You haven't provided enough information, such as what version of w32api you're using. If you aren't using the latest

problem compile with gcc

2008-10-20 Thread bjoe
Dear Sir, When I try to compile C source with Cygwin I get this error (the source code originally write with borland) $ gcc -mno-cygwin test.c In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/security.h:38, from test.c:54: /usr/lib/gcc/i686-pc-m