X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 31 Oct 2008 00:28:17 +0700 From: bjoe To: cygwin AT cygwin DOT com Subject: Re: problem compile with gcc Message-ID: <20081030172817.GA1628@komputer07> Mail-Followup-To: cygwin AT cygwin DOT com References: <01c101c935d0$7e34d0b0$9601a8c0 AT CAM DOT ARTIMI DOT COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01c101c935d0$7e34d0b0$9601a8c0@CAM.ARTIMI.COM> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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: > > > #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, > DaveK > -- > Can't think of a witty .sigline today.... > -- It is easy to say no when there is a deeper yes burning within -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/