Still got problems compiling....

Ralf Habacker kde-cygwin@mail.kde.org
Fri, 15 Nov 2002 11:36:22 +0100


> g++ -c -o project.o -I. -Igenerators -Igenerators/unix -Igenerators/win32
> -Igenerators/mac -I../include -I/home/Administrator/projects/qt-3/include
> -I../src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL
> -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:
> ../include/qpair.h:62: syntax error before `bool'
> ../include/qpair.h:62: `T1' was not declared in this scope
> ../include/qpair.h:62: `T2' was not declared in this scope
>
> It's like g++ doesn't support templates. The offending code:
>
try
$ make CXX="g++ --save-temps"

and look for a file project.ii in your current directory. There you have to look
what's going wrong.
I assume , that caused by a still configuration problem the Q_INLINE_TEMPLATES
is missing.

Ralf