delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Authentication-Warning: | jean.mailgate.net: jean set sender to jean AT infosat DOT net using -f |
Date: | Wed, 9 Jan 2002 15:24:01 +0200 |
From: | Jean le Roux <jean AT infosat DOT net> |
To: | Pavel Tsekov <ptsekov AT syntrex DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: w32api header problems |
Message-ID: | <20020109152401.A20980@infosat.net> |
References: | <20020109115348 DOT A14411 AT infosat DOT net> <67136319166 DOT 20020109130747 AT logos-m DOT ru> <20020109133833 DOT A20443 AT infosat DOT net> <3C3C2C12 DOT 7090102 AT syntrex DOT com> <20020109142543 DOT C20549 AT infosat DOT net> <3C3C3C4C DOT 4080105 AT syntrex DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <3C3C3C4C.4080105@syntrex.com>; from ptsekov@syntrex.com on Wed, Jan 09, 2002 at 01:49:16PM +0100 |
Hi > To fix the min and max, define the following before including windows.h: > #define NOMINMAX added that... waiting for compile to complete (Working on a VM... takes forever :) and tada! It's happy and so am I! It still warns me about undefined symbols: make all-recursive make[1]: Entering directory /cygdrive/e/projects/multicast/pmfp' Making all in libsrc make[2]: Entering directory /cygdrive/e/projects/multicast/pmfp/libsrc' >>> /bin/sh ../libtool --mode=link c++ -g -O2 -o libpmfp.la -rpath /usr/local/lib --no-undefined libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries <<< rm -fr .libs/libpmfp.la .libs/libpmfp.* .libs/libpmfp.* ar cru .libs/libpmfp.a common.o pmfp.o pmfp_log.o crypto.o mckey.o ranlib .libs/libpmfp.a creating libpmfp.la (cd .libs && rm -f libpmfp.la && ln -s ../libpmfp.la libpmfp.la) [ -e .libs ] && cp -f .libs/libpmfp.so.0.0.0 ./libpmfp.so cp: cannot stat .libs/libpmfp.so.0.0.0': No such file or directory make[2]: *** [all] Error 1 make[2]: Leaving directory /cygdrive/e/projects/multicast/pmfp/libsrc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /cygdrive/e/projects/multicast/pmfp' make: *** [all-recursive-am] Error 2 > > string itoa(const int value, const short fix=0); //line 285 > Have you included <string> ? Yip... This whole thing works perfectly if I take out the #include <windows.h> bye -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |