[Heads-up] ECM 5.96 KDECompilerSettings will add -Werror=undef to GCC/Clang build flags

2022-06-16 Thread Ahmad Samir
This[1] should catch undefined preprocessor expressions, i.e. instead of showing a warning if FOO_BAR_H is undefined: #if FOO_BAR_H make the build fail with an error instead. This combined with using #cmakedefine01 (instead of #cmakedefine), could catch things like: https://invent.kde.org/pim/k

D6762: ECM: KDECompilerSettings LINKER_FLAGS on Cygwin

2017-07-18 Thread Allen Winter
winterz closed this revision. winterz added a comment. see https://phabricator.kde.org/R240:db46fb7c2fdcfbff5f8a0445e4d055cf4388ead8 REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D6762 To: winterz, skelly, #build_system, #windows, kfunk Cc: nalvarez, #fr

D6762: ECM: KDECompilerSettings LINKER_FLAGS on Cygwin

2017-07-18 Thread Allen Winter
winterz added a comment. In https://phabricator.kde.org/D6762#126463, @nalvarez wrote: > Looks reasonable – although I wonder why on earth you're building KDE stuff on Cygwin... fun. as an experiment. i'm curious. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://

D6762: ECM: KDECompilerSettings LINKER_FLAGS on Cygwin

2017-07-18 Thread Kevin Funk
kfunk accepted this revision. This revision is now accepted and ready to land. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D6762 To: winterz, skelly, #build_system, #windows, kfunk Cc: nalvarez, #frameworks, #build_system

D6762: ECM: KDECompilerSettings LINKER_FLAGS on Cygwin

2017-07-17 Thread Nicolás Alvarez
nalvarez added a comment. Looks reasonable – although I wonder why on earth you're building KDE stuff on Cygwin... REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D6762 To: winterz, skelly, #build_system, #windows Cc: nalvarez, #frameworks, #build_system

D6762: ECM: KDECompilerSettings LINKER_FLAGS on Cygwin

2017-07-17 Thread Aleix Pol Gonzalez
apol added a reviewer: Windows. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D6762 To: winterz, skelly, #build_system, #windows Cc: #frameworks, #build_system

D6762: ECM: KDECompilerSettings LINKER_FLAGS on Cygwin

2017-07-17 Thread Allen Winter
winterz added reviewers: skelly, Build System. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D6762 To: winterz, skelly, #build_system Cc: #frameworks, #build_system

D6762: ECM: KDECompilerSettings LINKER_FLAGS on Cygwin

2017-07-17 Thread Allen Winter
winterz created this revision. Restricted Application added projects: Frameworks, Build System. Restricted Application added subscribers: Build System, Frameworks. REVISION SUMMARY Cygwin systems aren't ELF based so don't try to pass --enable-new-dtags to 'ld' else you get /usr/lib/gcc/x86_6

D5430: KDECompilerSettings: Pass -Wvla & -Wdate-time

2017-04-17 Thread Kevin Funk
This revision was automatically updated to reflect the committed changes. Closed by commit R240:0348332744d2: KDECompilerSettings: Pass -Wvla & -Wdate-time (authored by kfunk). REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D5430?vs=13476&

D5430: KDECompilerSettings: Pass -Wvla & -Wdate-time

2017-04-15 Thread Kevin Funk
kfunk updated this revision to Diff 13476. kfunk added a comment. Address mpyne's concerns REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D5430?vs=13396&id=13476 BRANCH master REVISION DETAIL https://phabricator.kde.org/D5430 AFFECTED FILE

D5430: KDECompilerSettings: Pass -Wvla & -Wdate-time

2017-04-14 Thread Michael Pyne
mpyne accepted this revision. mpyne added a comment. This revision is now accepted and ready to land. I think these warning flags make sense as default warning flags. I don't agree that `__DATE__` and `__TIME__` should be avoided as a rule, but projects that find this valuable can disable th

D5430: KDECompilerSettings: Pass -Wvla & -Wdate-time

2017-04-13 Thread Kevin Funk
kfunk added a comment. For -Wdate-time: https://lxr.kde.org/search?_filestring=&_string=__DATE__ https://lxr.kde.org/search?_filestring=&_string=__TIME__ -> Only around ~10 locations affected, mainly Krita/Digikam/Amarok stuff. The use of __DATE__ & __TIME__ should just be avoided. R

D5430: KDECompilerSettings: Pass -Wvla & -Wdate-time

2017-04-13 Thread Kevin Funk
kfunk edited the summary of this revision. kfunk edited the test plan for this revision. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D5430 To: kfunk Cc: #frameworks, #build_system

D5430: KDECompilerSettings: Pass -Wvla & -Wdate-time

2017-04-13 Thread Kevin Funk
kfunk created this revision. Restricted Application added projects: Frameworks, Build System. Restricted Application added subscribers: Build System, Frameworks. REVISION SUMMARY -Wvla: Warn because it's non-standard feature, not supported by MSVC to date -Wdate-time: Warn because using __TIME

KDECompilerSettings

2014-01-26 Thread Alex Merry
A quick warning: since the alpha is looming close, and we want these changes to have the maximum testing possible, I'm going to commit the various changes to KDECompilerSettings that I have queued up tomorrow. This includes the changes currently on reviewboard, as well as a broad reorganis