Date: Thu, 15 Sep 2011 20:56:29 GMT From: Hartmann@FreeBSD.org, "O." <ohartman@zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/160755: devel/qtcreator: CLANG fails compiling the port. port fails to start if qt4 is compiled with CLANG Message-ID: <201109152056.p8FKuTWN097146@red.freebsd.org> Resent-Message-ID: <201109152100.p8FL0LHK039090@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160755 >Category: ports >Synopsis: devel/qtcreator: CLANG fails compiling the port. port fails to start if qt4 is compiled with CLANG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 15 21:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hartmann, O. >Release: FreeBSD 9.0-BETA2/amd64 CLANG built >Organization: FU Berlin >Environment: >Description: Compiling devel/qtcreator with CLANG fails with following error. Using a legacy gcc-built qtcreator ends up in an error, when Qt4 has been built with CLANG. A check for a "g++ versu clang++" in some of the config files fail. In file included from algo_factory/algo_factory.cpp:11: In file included from ../build/botan/engine.h:13: In file included from ../build/botan/block_cipher.h:11: clang++ -c -O3 -fno-strict-aliasing -pipe -march=native -fPIC -ansi -fpermissive -finline-functions -Wno-long-long -O2 -fvisibility=hidden -Wall -W -fPIC -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I../../../../libs -I/usr/ports/devel/qtcreator/work/qt-creator-2.0.1-src/tools -I. -I../build -I../build/botan -I.moc/release-shared -I/usr/local/include -o .obj/release-shared/mem_pool.o alloc/mem_pool/mem_pool.cpp clang++: warning: argument unused during compilation: '-fpermissive' In file included from ../build/botan/sym_algo.h:13: In file included from ../build/botan/symkey.h:11: ./build/botan/secmem.h:362:28: error: use of undeclared identifier 'set' { if(this != &in) set(in); return (*this); } ^ this-> ./build/botan/symkey.h:36:56: note: in instantiation of member function 'Botan::SecureVector<unsigned char>::operator=' requested here void change(const MemoryRegion<byte>& in) { bits = in; } ^ ./build/botan/secmem.h:146:12: note: must qualify identifier to find this declaration in dependent base class void set(const T in[], u32bit n) { create(n); copy(in, n); } ^ ./build/botan/secmem.h:153:12: note: must qualify identifier to find this declaration in dependent base class void set(const MemoryRegion<T>& in) { set(in.begin(), in.size()); } ^ 3 warnings and 1 error generated. *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/devel/qtcreator. >How-To-Repeat: Try compiling devel/qtcreator with CLANG. try building Qt4 with CLANG and build qtcreator with legacy gcc and watch things happening. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109152056.p8FKuTWN097146>