[clazy] [Bug 354540] Clazy didn't work, always crashed. What i am doing wrong?

alexey.ivanes at gmail.comviaKDEBugzilla alexey.ivanes at gmail.comviaKDEBugzilla
Sat Oct 31 02:05:33 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=354540

--- Comment #2 from alexey.ivanes at gmail.com <alexey.ivanes at gmail.com> ---
Yes clang works, "calendar example" from qt sources:

vm at linux:~/dev/calendar> qmake-qt5 calendar.pro -spec linux-clang
vm at linux:~/dev/calendar> make
clang++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem
/usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem
/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-clang -o main.o
main.cpp
clang++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem
/usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem
/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-clang -o
mainwindow.o mainwindow.cpp
/usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB
-DQT_CORE_LIB -I/usr/lib64/qt5/mkspecs/linux-clang -I/home/vm/dev/calendar
-I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui
-I/usr/include/qt5/QtCore -I/usr/include/c++/4.8
-I/usr/include/c++/4.8/x86_64-suse-linux -I/usr/include/c++/4.8/backward
-I/usr/lib64/gcc/x86_64-suse-linux/4.8/include -I/usr/local/include
-I/usr/lib64/gcc/x86_64-suse-linux/4.8/include-fixed
-I/usr/x86_64-suse-linux/include -I/usr/include mainwindow.h -o
moc_mainwindow.cpp
clang++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem
/usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem
/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-clang -o
moc_mainwindow.o moc_mainwindow.cpp
clang++ -ccc-gcc-name g++ -o calendar main.o mainwindow.o moc_mainwindow.o  
-lQt5Widgets -L/usr/lib64 -lQt5Gui -lQt5Core -lGL -lpthread 
/usr/bin/ld: warning: type and size of dynamic symbol `qt_version_tag@@Qt_5.5'
are not defined
vm at linux:~/dev/calendar> ls
calendar  calendar.pro  main.cpp  main.o  mainwindow.cpp  mainwindow.h 
mainwindow.o  Makefile  moc_mainwindow.cpp  moc_mainwindow.o

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list