MantisBT - CMake |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010587 | CMake | CCMake | public | 2010-04-21 06:09 | 2011-04-04 12:00 |
|
| Reporter | Hauke Heibel | |
| Assigned To | David Cole | |
| Priority | high | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | CMake-2-8 | |
| Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | |
|
| Summary | 0010587: try_compile generates unexpected warnings due to deprecated /nologo- option |
| Description | While trying to compile the most recent ITK (I will nonetheless present a CMake related issue) I recognized an error which I could trace back to a misinterpretation of the try_compile output variable (OUTPUT_VARIABLE) which is caused by a deprecated compiler flag - "/nologo-".
In the CMake file itkTestFriendTemplateFunction.cmake, the output is expected to create zero warnings. Since this is not the case anymore, the generator process is currently flawed. |
| Steps To Reproduce | |
| Additional Information | The attached archive contains ITK's CMakeCache.txt along with a modified version of itkTestFriendTemplatedFunction.cmake that I used to log the try_compile output as well as to be able to compile ITK at all. The try_compile output is contained in the file OUTPUT_VARIABLE.txt.
I used CMake 2.8.1 and the generator was "Visual Studio 2010 Win64" under Windows 7. The Visual Studio version is "Visual Studio 2010 Ultimate". |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | try_compile.zip (28,065) 2010-04-21 06:09 https://public.kitware.com/Bug/file/3044/try_compile.zip |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2010-04-21 06:09 | Hauke Heibel | New Issue | |
| 2010-04-21 06:09 | Hauke Heibel | File Added: try_compile.zip | |
| 2010-04-21 07:54 | Bill Hoffman | Status | new => assigned |
| 2010-04-21 07:54 | Bill Hoffman | Assigned To | => David Cole |
| 2010-04-21 07:54 | Bill Hoffman | Note Added: 0020330 | |
| 2010-09-09 17:38 | David Cole | Priority | normal => high |
| 2010-11-10 21:09 | David Cole | Target Version | => CMake 2.8.4 |
| 2010-12-17 16:45 | David Cole | Note Added: 0024249 | |
| 2010-12-17 16:45 | David Cole | Status | assigned => resolved |
| 2010-12-17 16:45 | David Cole | Fixed in Version | => CMake 2.8.4 |
| 2010-12-17 16:45 | David Cole | Resolution | open => fixed |
| 2011-04-04 12:00 | David Cole | Note Added: 0026072 | |
| 2011-04-04 12:00 | David Cole | Status | resolved => closed |