Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: Possible problem with timercmp in sys/time.h Date: Fri, 20 Apr 2001 04:40:18 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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