gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: error compiling LCD module
From: Carlos Ghirardelli
Date: Fri, 22 Aug 2003 14:04:53 -0300

Hello, i was trying to compile the Lcd module from cvs and i get this error :

c++ -DHAVE CONFIG H -I. -I. -I. -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 
-c  -fPIC -DPIC lcdgui.cc -o .libs/lcdgui.lo
In file included from lcdgui.cc:24:
lcd.h:108: `class Event' redeclared as enumeral type
lcd.h:108: conflicting types for `enum Event'
/usr/local/include/gpsim/stimuli.h:440: previous declaration as `class Event' 

 Well, i don't understand too much C++, but i try to fix that simple changing 
the name of the class Event, on every occurence in the file lcd.h and in 
lcdengine.cc and works fine, but i think it's better that someone with more 
experience check that.

Best regards,
	And thank you for so great soft!
-- 
Carlos Ghirardelli - ghirarc@gmx.net
Córdoba - Argentina
ICQ # 17216215
--
A quien amasa y cuece, muchas cosas le acontecen.

gnupic@linuxhacker.org