Bug 323579 - Spurious Clang warnings
Summary: Spurious Clang warnings
Status: RESOLVED FIXED
Alias: None
Product: buildsystem
Classification: Developer tools
Component: KDE4 (cmake) (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Raphael Kubo da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-16 06:40 UTC by Mark Kretschmann
Modified: 2013-08-21 10:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Kretschmann 2013-08-16 06:40:00 UTC
When building KDE software with Clang and KDE 4.11.0, some bogus warnings are printed that should be suppressed. Example:

[  3%] Building CXX object shared/CMakeFiles/amarokshared.dir/tag_helpers/APETagHelper.o
clang: warning: argument unused during compilation: '-fno-check-new'
clang: warning: argument unused during compilation: '-fno-reorder-blocks'
clang: warning: argument unused during compilation: '-fno-schedule-insns'


Reproducible: Always
Comment 1 Raphael Kubo da Costa 2013-08-16 09:19:17 UTC
I intend to address this and other issues in a patch that makes clang's support in FindKDE4Internal.cmake more in sync with the version we use on FreeBSD.
Comment 2 Raphael Kubo da Costa 2013-08-21 10:47:14 UTC
Fixed in http://quickgit.kde.org/?p=kdelibs.git&a=commit&h=90cb7ba760584a8010afef65fa14e649195af6c6

(I used the wrong email address in the commit so CCBUG didn't work :-)
Comment 3 Mark Kretschmann 2013-08-21 10:54:15 UTC
Thanks a lot, Raphael :)