Bug 200528 - does not build - union member initialization
Summary: does not build - union member initialization
Status: RESOLVED NOT A BUG
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-17 11:06 UTC by tropikhajma
Modified: 2020-01-11 08:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2009-07-17 11:06:05 UTC
Version:           4.2.96 (using Devel)
Compiler:          Sun Studio 12 U1 
OS:                Solaris
Installed from:    Compiled sources

building on OpenSolaris 2009.06 with Sun Studio 12U1 fails with

...
Building CXX object umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/ast.o
cd /export/home/test/packages/BUILD/kdesdk-4.2.96/build-kdesdk-4.2.96/umbrello/umbrello && /opt/SunStudioExpress/bin/CC  -library=no%Cstd  -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT_WARNINGS -D__EXTENSIONS__ -DSOLARIS -D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT  -D_XOPEN_SOURCE=500 -D_XPG5  -I/opt/foss/include/stdcxx/ansi -I/opt/foss/include/stdcxx -I/opt/foss/include -I/usr/apr/1.3/include -I/usr/apr-util/1.3/include -I/opt/foss/include/stdcxx/ansi -I/opt/foss/include/stdcxx -library=no%Cstd -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -s -xlang=c99 -xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -mt -xF=%none -xbuiltin=%all -xinline=%auto -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xalias_level=compatible -KPIC -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 -xrestrict=%all -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil -s -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -lc -lm -ldl -lpthread -lposix4 -lrt -mt -L/opt/foss/lib -R/opt/foss/lib -L/usr/lib -R/usr/lib -Y P,/opt/foss/lib -i -L/opt/foss/lib -R/opt/foss/lib -L/usr/lib -R/usr/lib -Bdynamic -lstdcxx -lCrun -lc -lm     -DQT_NO_DEBUG -I/export/home/test/packages/BUILD/kdesdk-4.2.96/build-kdesdk-4.2.96/umbrello/umbrello -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello -I/export/home/test/packages/BUILD/kdesdk-4.2.96 -I/export/home/test/packages/BUILD/kdesdk-4.2.96/build-kdesdk-4.2.96 -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/dialogs -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/clipboard -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codeimport -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/ada -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/as -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/cpp -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/csharp -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/d -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/idl -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/java -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/js -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/pascal -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/perl -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/php -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/python -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/ruby -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/sql -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/tcl -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenerators/xml -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codegenwizard -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/controller -I/export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/widgets -I/opt/kde-4.2/include -I/opt/kde-4.2/include/KDE -I/opt/foss/include/KDE -I/opt/foss/include -I/opt/foss/qt4/include/phonon -I/opt/foss/qt4/include/QtXmlPatterns -I/opt/foss/qt4/include/QtWebKit -I/opt/foss/qt4/include/QtHelp -I/opt/foss/qt4/include/QtAssistant -I/opt/foss/qt4/include/QtDBus -I/opt/foss/qt4/include/QtTest -I/opt/foss/qt4/include/QtUiTools -I/opt/foss/qt4/include/QtScript -I/opt/foss/qt4/include/QtSvg -I/opt/foss/qt4/include/QtXml -I/opt/foss/qt4/include/QtSql -I/opt/foss/qt4/include/QtOpenGL -I/opt/foss/qt4/include/QtNetwork -I/opt/foss/qt4/include/QtDesigner -I/opt/foss/qt4/include/Qt3Support -I/opt/foss/qt4/include/QtGui -I/opt/foss/qt4/include/QtCore -I/opt/foss/qt4/include/Qt -I/opt/foss/qt4/share/mkspecs/default -I/opt/foss/qt4/include -I/usr/X11/include -I/usr/include/libxml2 -I/opt/foss/include/boost-1_36    -D_LARGEFILE64_SOURCE -o CMakeFiles/umbrello.dir/codeimport/kdevcppparser/ast.o -c /export/home/test/packages/BUILD/kdesdk-4.2.96/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp
"/opt/foss/qt4/include/QtCore/qstringmatcher.h", line 91: Warning: Types cannot be declared in anonymous union.
"/opt/foss/include/stdcxx/rw/_strref.h", line 248: Error: A union member cannot require initialization or destruction.
"/opt/foss/include/stdcxx/rw/_strref.h", line 258:     Where: While specializing "__rw::__string_ref<QChar, std::char_traits<QChar>, std::allocator<QChar>>".
"/opt/foss/include/stdcxx/rw/_strref.h", line 258:     Where: Specialized in __rw::__null_ref<QChar, std::char_traits<QChar>, std::allocator<QChar>>.
"/opt/foss/include/stdcxx/string", line 162:     Where: Instantiated from std::basic_string<QChar>::basic_string(const std::allocator<QChar>&).
"/opt/foss/include/boost-1_36/boost/spirit/home/classic/iterator/position_iterator.hpp", line 59:     Where: Instantiated from non-template code.
1 Error(s) and 1 Warning(s) detected.
Comment 1 tropikhajma 2010-05-14 17:55:38 UTC
still valid in current kde4 svn
Comment 2 tropikhajma 2010-12-03 23:35:31 UTC
still valid in current svn
Comment 3 Andrew Crouthamel 2018-11-05 03:20:25 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-17 04:55:46 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Oliver Kellogg 2020-01-11 08:48:11 UTC
(In reply to tropikhajma from comment #0)
> [...]
> "/opt/foss/include/stdcxx/rw/_strref.h", line 248: Error: A union member cannot require initialization or destruction.

This file is not from Umbrello but from the RogueWave library, see
https://github.com/pathscale/stdcxx/blob/master/include/rw/_strref.h