compiling error on FreeBSD 6.4
Hi all. I got compiling error on FreeBSD 6.4. I pulled and updated this morning and then got this error. gmake[3]: Entering directory `/tmp/disk1/src/css/dillo/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDILLORC_SYS='"/usr/local/etc/dillorc"' -I/usr/local/include -I.. -I/usr/local/include/libpng -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -Wno-non-virtual-dtor -g -O2 -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -MT web.o -MD -MP -MF ".deps/web.Tpo" -c -o web.o web.cc; \ then mv -f ".deps/web.Tpo" ".deps/web.Po"; else rm -f ".deps/web.Tpo"; exit 1; fi In file included from styleengine.hh:7, from web.cc:25: cssparser.hh:27: error: expected unqualified-id before '!' token cssparser.hh:27: error: expected `)' before '!' token gmake[3]: *** [web.o] Error 1 gmake[3]: Leaving directory `/tmp/disk1/src/css/dillo/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/tmp/disk1/src/css/dillo/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/disk1/src/css/dillo' gmake: *** [all] Error 2 I have no idea when this happned. Regards, furaisanjin
Hi, On Tue, Mar 24, 2009 at 08:11:00AM +0900, furaisanjin wrote:
Hi all.
I got compiling error on FreeBSD 6.4. I pulled and updated this morning and then got this error.
gmake[3]: Entering directory `/tmp/disk1/src/css/dillo/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DDILLORC_SYS='"/usr/local/etc/dillorc"' -I/usr/local/include -I.. -I/usr/local/include/libpng -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -Wno-non-virtual-dtor -g -O2 -Wall -W -Wno-unused-parameter -fno-rtti -fno-exceptions -MT web.o -MD -MP -MF ".deps/web.Tpo" -c -o web.o web.cc; \ then mv -f ".deps/web.Tpo" ".deps/web.Po"; else rm -f ".deps/web.Tpo"; exit 1; fi In file included from styleengine.hh:7, from web.cc:25: cssparser.hh:27: error: expected unqualified-id before '!' token cssparser.hh:27: error: expected `)' before '!' token gmake[3]: *** [web.o] Error 1 gmake[3]: Leaving directory `/tmp/disk1/src/css/dillo/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/tmp/disk1/src/css/dillo/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/disk1/src/css/dillo' gmake: *** [all] Error 2
I have no idea when this happned.
Oh, maybe getc is a macro in FreeBSD? Can you please try attached patch that renames the getc() / ungetc() methods to something non-standard. Regards, Johannes
2009/3/24 Hofmann Johannes <Johannes.Hofmann@gmx.de>:
Oh, maybe getc is a macro in FreeBSD? Can you please try attached patch that renames the getc() / ungetc() methods to something non-standard.
Thank you. The patch works fine. I can compile dillo and it's working OK. Regards, furaisanjin
On Tue, Mar 24, 2009 at 08:42:56PM +0900, furaisanjin wrote:
2009/3/24 Hofmann Johannes <Johannes.Hofmann@gmx.de>:
Oh, maybe getc is a macro in FreeBSD? Can you please try attached patch that renames the getc() / ungetc() methods to something non-standard.
Thank you. The patch works fine. I can compile dillo and it's working OK.
Committed. Thanks for testing, Johannes
participants (2)
-
furaisanjin@gmail.com
-
Johannes.Hofmann@gmx.de