delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <002e01c0c975$875adf10$2eaae740@smith> |
From: | "Eugene Ciloci" <ciloci AT sympatico DOT ca> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Possible problem with timercmp in sys/time.h |
Date: | Fri, 20 Apr 2001 04:40:18 -0400 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Trying to compile icewm-1.0.6 in Win2k using Cygwin. I get this weird error about a parse error in yapp.cc: make[1]: Entering directory `/cygdrive/c/Misc/ICEWM-~1.6/src' gcc -DLIBDIR='"/cygdrive/c/Misc/iceWM/lib/X11/icewm"' -DCFGDIR='"/cygdriv e/c/ Misc/iceWM/etc/X11/icewm"' -DLOCDIR='""' -DKDEDIR='"/cygdrive/c/Misc/iceWM/s hare "' -DPACKAGE='"icewm"' -DVERSION='"1.0.6"' -DEXEEXT='""' -DICEWMEXE='"icewm" EXEE XT' -fpermissive -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Wmissin g-pr ototypes -Wmissing-declarations -Winline -Woverloaded-virtual -W -fno-except ions -fno-rtti -g -O2 -I/usr/X11R6/include -DHAVE_CONFIG_H -c yapp.cc In file included from /usr/include/fcntl.h:4, from sysdep.h:43, from yapp.cc:11: /usr/include/sys/fcntl.h:51: warning: `O_BINARY' redefined sysdep.h:18: warning: this is the location of the previous definition /usr/include/sys/fcntl.h:52: warning: `O_TEXT' redefined sysdep.h:15: warning: this is the location of the previous definition yapp.cc: In method `void YApplication::getTimeout(timeval *)': yapp.cc:679: parse error before `>' yapp.cc:684: confused by earlier errors, bailing out make[1]: *** [yapp.o] Error 1 The offending line is: [yapp.cc:679] if (t->isRunning() && (fFirst || timercmp(timeout, &t->timeout, >))) { Someone on the IceWM mailing list told me to modify the time.h file. But the macro definition looks like it should work for '>'. Any suggestions? Thanks. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |