From kde-bugs-dist Sat Apr 30 22:45:44 2011 From: tropikhajma Date: Sat, 30 Apr 2011 22:45:44 +0000 To: kde-bugs-dist Subject: [Bug 272109] New: build failure on Solaris due to a compiler define Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=130420422328508 https://bugs.kde.org/show_bug.cgi?id=272109 Summary: build failure on Solaris due to a compiler define Product: plasma Version: unspecified Platform: Compiled Sources OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: plasma-bugs@kde.org ReportedBy: tropikhajma@gmail.com Version: unspecified (using KDE 4.6.2) OS: Solaris building kdebase-workspace 4.6.2 on Solaris 11e with gcc 4.5.2 fails with ... cd /home/test/packages/BUILD/kdebase-workspace-4.6.2/build/plasma/generic/dataengines/time && /usr/gcc/4.5/bin/g++ -DMAKE_PLASMA_ENGINE_TIME_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=25 -DHAVE_CONFIG_H=1 -DDISABLE_NEPOMUK_LEGACY -DKDE_DEFAULT_DEBUG_AREA=1204 -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/home/test/packages/BUILD/kdebase-workspace-4.6.2/build/plasma/generic/dataengines/time -I/home/test/packages/BUILD/kdebase-workspace-4.6.2/plasma/generic/dataengines/time -I/home/test/packages/BUILD/kdebase-workspace-4.6.2 -I/home/test/packages/BUILD/kdebase-workspace-4.6.2/build -I/home/test/packages/BUILD/kdebase-workspace-4.6.2/kdm -I/home/test/packages/BUILD/kdebase-workspace-4.6.2/libs -I/home/test/packages/BUILD/kdebase-workspace-4.6.2/libs/kworkspace -I/opt/kde4/include -I/opt/kde4/include/KDE -I/opt/kde4/include/phonon -I/opt/kde4/include/QtXmlPatterns -I/opt/kde4/include/QtXml -I/opt/kde4/include/QtWebKit -I/opt/kde4/include/QtUiTools -I/opt/kde4/include/QtTest -I/opt/kde4/include/QtSvg -I/opt/kde4/include/QtSql -I/opt/kde4/include/QtScriptTools -I/opt/kde4/include/QtScript -I/opt/kde4/include/QtOpenGL -I/opt/kde4/include/QtNetwork -I/opt/kde4/include/QtMultimedia -I/opt/kde4/include/QtHelp -I/opt/kde4/include/QtDesigner -I/opt/kde4/include/QtDeclarative -I/opt/kde4/include/QtDBus -I/opt/kde4/include/Qt3Support -I/opt/kde4/include/QtGui -I/opt/kde4/include/QtCore -I/opt/kde4/include/Qt -I/opt/kde4/mkspecs/default -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o CMakeFiles/plasma_engine_time.dir/plasma_engine_time_automoc.o -c /home/test/packages/BUILD/kdebase-workspace-4.6.2/build/plasma/generic/dataengines/time/plasma_engine_time_automoc.cpp In file included from /home/test/packages/BUILD/kdebase-workspace-4.6.2/build/plasma/generic/dataengines/time/moc_timesource.cpp:10:0, from /home/test/packages/BUILD/kdebase-workspace-4.6.2/build/plasma/generic/dataengines/time/plasma_engine_time_automoc.cpp:4: /home/test/packages/BUILD/kdebase-workspace-4.6.2/build/plasma/generic/dataengines/time/../../../../../plasma/generic/dataengines/time/timesource.h:46:10: error: expected unqualified-id before numeric constant /home/test/packages/BUILD/kdebase-workspace-4.6.2/build/plasma/generic/dataengines/time/../../../../../plasma/generic/dataengines/time/timesource.h:46:10: error: expected ';' before numeric constant gmake[2]: *** [plasma/generic/dataengines/time/CMakeFiles/plasma_engine_time.dir/plasma_engine_time_automoc.o] Error 1 gmake[2]: Leaving directory `/home/test/packages/BUILD/kdebase-workspace-4.6.2/build' gmake[1]: *** [plasma/generic/dataengines/time/CMakeFiles/plasma_engine_time.dir/all] Error 2 gmake[1]: Leaving directory `/home/test/packages/BUILD/kdebase-workspace-4.6.2/build' gmake: *** [all] Error 2 This is because on Solaris, 'sun' is defined by the compiler. Reproducible: Always -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.