Discussion:
[Pixil-devel] viewml compilation issues
Sriram Neelakandan Iyer
2004-06-08 16:31:00 UTC
Permalink
Hi
i am using redhat 9 with gcc 3.2.2 system. and trying
to compile viewml-0.22 using flnx-0.17 (with
microwindows-0.90).. but endup these crazy gcc
backward compatibilty errors..
g++ -M -L/usr/local/include -INONE/include -I.
-I../kdecore -I../kimgio -I../kdeui -I../jscript
-I/home/sriramn/dloads2/flnx/flnx-0.17/
-I/home/sriramn/dloads2/flnx/flnx-0.17//FL -I./fltk
-I/home/sriramn/downloads/nanox/microwindows-0.90/src//include
-I/usr/local/include/microwin -g --permissive -DNANOX
-D_NANOX `/usr/bin/libwww-config --cflags` html.cpp
htmlchain.cpp htmlclue.cpp htmldata.cpp htmlfont.cpp
htmliter.cpp htmltable.cpp htmltoken.cpp jscript.cpp
htmlview.cpp htmlframe.cpp htmlobj.cpp debug.cpp
htmlform.cpp main.cpp http.cpp http_.cpp
../kdecore/kurl.cpp ../kdeui/kcursor.cpp
fltk/qtimer.cpp fltk/qobject.cpp fltk/qpainter.cpp
fltk/qdrawutil.cpp fltk/qfont.cpp fltk/qrect.cpp
fltk/qregexp.cpp fltk/qstring.cpp fltk/kcharsets.cpp
fltk/qcolor.cpp fltk/qpixmap.cpp fltk/qfontinfo.cpp
fltk/qwidget.cpp fltk/history.cpp fltk/qscrollbar.cpp
.build_depends
In file included from
/usr/include/c++/3.2.2/backward/iostream.h:31,
from fltk/qpainter.h:14,
from htmltable.h:28,
from html.cpp:41:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one
deprecated or antiquated header. Please consider using
one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header
<strstream.h>. To disable this warning use
-Wno-deprecated.
In file included from
/usr/include/c++/3.2.2/backward/iostream.h:31,
... make[1]: Entering directory
`/data/downloads/nanox/viewml-0.22/src'
g++ -L/usr/local/include -INONE/include -I.
-I../kdecore -I../kimgio -I../kdeui -I../jscript
-I/home/sriramn/dloads2/flnx/flnx-0.17/
-I/home/sriramn/dloads2/flnx/flnx-0.17//FL -I./fltk
-I/home/sriramn/downloads/nanox/microwindows-0.90/src//include
-I/usr/local/include/microwin -g --permissive -DNANOX
-D_NANOX `/usr/bin/libwww-config --cflags` -I.. -c -o
html.o html.cpp
In file included from ../kdecore/kurl.h:31,
from html.cpp:24:
fltk/qstring.h:16: parse error before `{' token
fltk/qstring.h:21: parse error before `int'
fltk/qstring.h:22: parse error before `const'
fltk/qstring.h:22: warning: ISO C++ forbids
declaration of `m_bNull' with no

I noticed that people had already reported the problem

and that viewml was written with an earlier version of
gcc..
Has there been any modification done fix this error?
Is there any patch available ?


I even tried using viewml-0.23 .. this one breaks with
another error looking for some file "par.h" which is
not available on my redhat !

i am totally stuck on this one !
any pointers will be helpful

thanks in advance
sriram






from fltk/qpainter.h:14,




__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

Loading...