MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013955 | CMake | (No Category) | public | 2013-02-27 03:39 | 2016-06-10 14:31 |
Reporter | Mathieu Malaterre | ||||
Assigned To | Bill Hoffman | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0013955: warning: assuming signed overflow does not occur when simplifying conditional to constant | ||||
Description | Cmake generates code which confuses gcc optimizer: /home/mathieu/Perso/gdcm-gcc/Testing/Source/Common/Cxx/gdcmCommonTests.cxx: In function ‘int main(int, char**)’: /home/mathieu/Perso/gdcm-gcc/Testing/Source/Common/Cxx/gdcmCommonTests.cxx:218: warning: assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow] Code generated by cmake is: ... /* If partial match is requested. */ if(testToRun == -1 && ac > 1) { partial_match = (strcmp(av[1], "-R") == 0) ? 1 : 0; } ... Looks like gcc thinks ac can be negative... | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-02-27 03:39 | Mathieu Malaterre | New Issue | |||
2013-02-27 03:43 | Mathieu Malaterre | Note Added: 0032391 | |||
2013-02-27 08:29 | Brad King | Note Added: 0032392 | |||
2013-02-27 08:29 | Brad King | Assigned To | => Bill Hoffman | ||
2013-02-27 08:29 | Brad King | Status | new => assigned | ||
2013-02-27 08:42 | Mathieu Malaterre | Note Added: 0032393 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042238 | |||
2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|