View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013516 | CMake | CMake | public | 2012-09-05 06:10 | 2016-06-10 14:31 | ||||
Reporter | Frank Bergmann | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS X | OS Version | > 10.5 | |||||
Product Version | CMake 2.8.9 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013516: When generating Xcode Projects certain warnings are always enabled (-Wmost) | ||||||||
Description | Looking at cmGlobalXCodeGenerator.cxx, I find that the option "-Wmost" is always enabled. It would be better if this option would be configurable. When this option is specified, all the fine grained settings that can be set in Xcode are always overwritten. Because of the way that this option is added in the generator, no post processing step will allow me to remove them: this->CreateString("NO")); if (this->XcodeVersion >= 30) { cmXCodeObject *group = this->CreateObject(cmXCodeObject::OBJECT_LIST); group->AddObject(this->CreateString("-Wmost")); group->AddObject(this->CreateString("-Wno-four-char-constants")); group->AddObject(this->CreateString("-Wno-unknown-pragmas")); buildSettings->AddAttribute("WARNING_CFLAGS", group); } else { buildSettings->AddAttribute("WARNING_CFLAGS", this->CreateString( "-Wmost -Wno-four-char-constants" " -Wno-unknown-pragmas")); } | ||||||||
Steps To Reproduce | - take any cmake project and generate xcode projects with it. they all will have WARNING_CFLAGS set with -Wmost. - even warnings turned off in xcode (like functions hiding overloaded virtual functions) will still be issued | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0042113) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-09-05 06:10 | Frank Bergmann | New Issue | |
2016-06-10 14:28 | Kitware Robot | Note Added: 0042113 | |
2016-06-10 14:28 | Kitware Robot | Status | new => resolved |
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |