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 Date: Fri, 20 Apr 2001 23:55:24 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Possible problem with timercmp in sys/time.h Message-ID: <20010420235524.A4902@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <002e01c0c975$875adf10$2eaae740 AT smith> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <002e01c0c975$875adf10$2eaae740@smith>; from ciloci@sympatico.ca on Fri, Apr 20, 2001 at 04:40:18AM -0400 On Fri, Apr 20, 2001 at 04:40:18AM -0400, Eugene Ciloci wrote: >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? Listen to the voices on the IceWM mailing list. Apparently they can read header files better than you. Or, wait until the next release of cygwin. I've turned on timercmp in sys/time.h. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple