[openbox] epist

Scott Moynes smoynes at nexus.carleton.ca
Fri Apr 25 08:55:49 EDT 2003


* Fryderyk Dziarmagowski (freetz at gmx.net) wrote:
> Hi All.
> Epist build against gcc-2.95:
> 
>   `/root/rpm/BUILD/openbox-2.3.1/util/epist'
>   source='epist.cc' object='epist.o' libtool=no \
>   depfile='.deps/epist.Po' tmpdepfile='.deps/epist.TPo' \
>   depmode=gcc /bin/sh ../../depcomp \
>   g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DNDEBUG
>   -DDEFAULTRC=\"/etc/X11/openbox/epistrc\"  -O2 -march=i686
>   -I/usr/X11R6/include -Wall -W -c -o epist.o `test -f 'epist.cc' ||
>   echo './'`epist.cc
>   epist.cc: In method `bool epist::handleSignal(int)':
>   epist.cc:141: implicit declaration of function `int perror(...)'
>   make[3]: *** [epist.o] B??d 1
> 
> With gcc-3.2.2 everything is ok.
> Any hints?
> 
> greets and TIA
> 
> fritz

Fixed in CVS thanks.
Attached is a patch.
-- 
Scott Moynes http://www.icculus.org/openbox/
"Computer science is as much about computers
as astronomy is about telescopes." -- Dijkstra

*** util/epist/epist.cc.~1.44.12.1.~	Sat Apr  5 12:28:03 2003
--- util/epist/epist.cc	Fri Apr 25 08:48:21 2003
***************
*** 52,57 ****
--- 52,61 ----
  #  include <sys/stat.h>
  #endif // HAVE_SYS_STAT_H
  
+ #ifdef    HAVE_STDIO_H
+ #  include <stdio.h>
+ #endif // HAVE_STDIO_H
+ 
  #include <sys/wait.h>
  }



More information about the openbox mailing list