[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-users] pan >= 0.100 fail to compile with gcc 3.2.3 (needs iostream

From: Christian Lohmaier
Subject: [Pan-users] pan >= 0.100 fail to compile with gcc 3.2.3 (needs iostream in general/string-view.h)
Date: Tue, 11 Jul 2006 16:36:23 +0200
User-agent: Mutt/1.4.1i

Hi Charles, *,

pan 0.100 and newer fail to compile with gcc 3.2.3 because of the change
in pan/general/string-view.h (now includes iosfwd instead of iostream)

It fails with:
if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../.. -I/usr/include/gmime-2.0
-I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include
-I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr
-fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -maccumulate-outgoing-args -fpic -g -MT url-find.o -MD -MP
-MF ".deps/url-find.Tpo" -c -o url-find.o; \
then mv -f ".deps/url-find.Tpo" ".deps/url-find.Po"; else rm -f
".deps/url-find.Tpo"; exit 1; fi In function `bool pan::url_find(const pan::StringView&,
   pan::StringView&)': `isalpha' undeclared (first use this function) (Each undeclared identifier is reported only once for each
   function it appears in.) `isspace' undeclared (first use this function)
make[3]: *** [url-find.o] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis 
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis 
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis 
make: *** [all] Fehler 2
Fehler: Bad exit status from /var/tmp/rpm-tmp.5232 (%build)

Adding #include <iostream> back to pan/general/string-view.h allows it
to compile.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]