X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <48FC57FC.94223336@dessent.net> Date: Mon, 20 Oct 2008 03:05:48 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: problem compile with gcc References: <20081020080448 DOT GA3724 AT dwtc-a4> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 (3.12-1), first upgrade and see if the issue is fixed. If that doesn't help then we need to see the code, or a standalone testcase that reproduces the problem. It could be an #include problem, for example #including a header that is not meant to be included directly -- the MSDN page for each API function tells you which header to include to use that function. And many windows headers require to be included first. Brian -- 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/