Still got problems compiling....
Bob Tanner
kde-cygwin@mail.kde.org
Thu, 14 Nov 2002 20:00:19 -0600
Got past the TRAP problem in configure, but I'm still getting compiler er=
rors.=20
g++ -c -o project.o -I. -Igenerators -Igenerators/unix -Igenerators/win32=
=20
-Igenerators/mac -I../include -I/home/Administrator/projects/qt-3/include=
=20
-I../src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL=20
-I/home/Administrator/projects/qt-3/mkspecs/cygwin-g++ project.cpp
In file included from ../include/qmap.h:44,
from project.h:42,
from project.cpp:38:
=2E./include/qpair.h:62: syntax error before `bool'
=2E./include/qpair.h:62: `T1' was not declared in this scope
=2E./include/qpair.h:62: `T2' was not declared in this scope
It's like g++ doesn't support templates. The offending code:
61:template <class T1, class T2>
2:Q_INLINE_TEMPLATES bool operator=3D=3D( const QPair<T1, T2>& x, const Q=
Pair<T1,=20
T2>& y )
63: {
64: return x.first =3D=3D y.first && x.second =3D=3D y.second;
65:}
$ gcc --version
gcc (GCC) 3.2 20020927 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is N=
O
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS=
E.
Got stuff in /usr/include/c++/3.2, which is where I believe the=20
libstdc++-devel files should live.
Any help?
--=20
Bob Tanner <tanner@real-time.com> | Phone : (952)943-8700
http://www.mn-linux.org | Fax : (952)943-8500
Key fingerprint =3D 02E0 2734 A1A1 DBA1 0E15 623D 0036 7327 93D9 7DA3