| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| 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. | ||||||||
| 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. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0020330) Bill Hoffman (manager) 2010-04-21 07:54 |
This looks like a quick ITK WA12 task. |
|
(0024249) David Cole (manager) 2010-12-17 16:45 |
Fixed in the 'next' branch of CMake: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=984acc884ba4c21192712c20b7820d94ad855605 [^] Fix should appear in CMake 2.8.4 |
|
(0026072) David Cole (manager) 2011-04-04 12:00 |
Closing resolved issues that have not been updated in more than 3 months. |
| Notes |
| 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 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |