[SOLVED]Re: Problem building 1.5 only on win32

Artur Bać artur at ebasoft.com.pl
Sun Apr 14 21:49:32 UTC 2013


At least this file builds

I've changed order of includes and added qblobal.h in
specializationstore.cpp

#include <qglobal.h>
#include <qmetatype.h>
#include "declarationid.h"
#include "specializationstore.h"
#include "ducontext.h"
#include "declaration.h"

but got next errors later .. (only in 1.5 , 1.4 builds ok )


c:\mingw32_dw2\bin\../lib/gcc/mingw32/4.6.1-dw2/include/c++/backward/backward_warning.h:33:2:
warning: #warning This file includes at least one deprecated or
antiquated header which may be removed without further notice
at a future date. Please use a non-deprecated interface with equivalent
functionality instead. For a listing of replacement headers and
interfaces, consult the file backward_warning.h. To disable this warning
use -Wno-de
precated. [-Wcpp]
In file included from
A:/KDE/src/kdevplatform/language/editor/simplerange.h:22:0,
                 from
A:\KDE\src\kdevplatform\language\duchain\duchainbase.h:23,
                 from
A:\KDE\src\kdevplatform\language\duchain\ducontextdata.h:31,
                 from
A:\KDE\src\kdevplatform\language\duchain\localindexedducontext.cpp:22:
a:/KDE32/include/ktexteditor/range.h:31:1: error: expected constructor,
destructor, or type conversion before 'namespace'
In file included from
c:\mingw32_dw2\bin\../lib/gcc/mingw32/4.6.1-dw2/include/c++/ext/atomicity.h:34:0,
                 from
c:\mingw32_dw2\bin\../lib/gcc/mingw32/4.6.1-dw2/include/c++/bits/ios_base.h:41,
                 from
c:\mingw32_dw2\bin\../lib/gcc/mingw32/4.6.1-dw2/include/c++/ios:43,
                 from
c:\mingw32_dw2\bin\../lib/gcc/mingw32/4.6.1-dw2/include/c++/ostream:40,
                 from
c:\mingw32_dw2\bin\../lib/gcc/mingw32/4.6.1-dw2/include/c++/iostream:40,
                 from
A:\KDE\src\kdevplatform\language\duchain\appendedlist.h:28,
                 from
A:\KDE\src\kdevplatform\language\duchain\duchainbase.h:26,
                 from
A:\KDE\src\kdevplatform\language\duchain\ducontextdata.h:31,
                 from
A:\KDE\src\kdevplatform\language\duchain\localindexedducontext.cpp:22:
c:\mingw32_dw2\bin\../lib/gcc/mingw32/4.6.1-dw2/include/c++/mingw32/bits/gthr.h:30:37:
error: expected declaration before end of line
mingw32-make[2]: ***
[language/CMakeFiles/kdevplatformlanguage.dir/duchain/localindexedducontext.obj]
Error 1
mingw32-make[2]: Leaving directory `A:/KDE/src/kdevplatform/build'
mingw32-make[1]: *** [language/CMakeFiles/kdevplatformlanguage.dir/all]
Error 2
mingw32-make[1]: Leaving directory `A:/KDE/src/kdevplatform/build'
mingw32-make: *** [all] Error 2


More information about the KDevelop-devel mailing list