delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/20/06:06:41

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 <brian AT dessent DOT net>
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>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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
<windows.h> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019