MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0016094 | CMake | CMake | public | 2016-05-05 01:57 | 2016-06-10 14:31 |
Reporter | Damian Rouson | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | CMake 3.5.1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0016094: CMake 3.5.1 misinterprets C preprocessor logic | ||||
Description | The attached, reduced example demonstrates CMake's erroneous interpretation of compound conditional C preprocessor logic that wraps statements that handle dependencies in a Fortran project. The file shared/fft.F90 filed demonstrates the syntax that exposes the bug and an alternate but otherwise equivalent syntax that works correctly. Damian | ||||
Steps To Reproduce | Some of the compilation flags employed in the CMake scripts require the Intel C and Fortran compilers and Intel MPI. tar xf missed_dependency.tar.bz2 cd missed_dependency mkdir build cd build FC=mpiifort CC=mpiicc cmake .. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/5686/missed_dependency.tar.bz2 | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-05-05 01:57 | Damian Rouson | New Issue | |||
2016-05-05 01:57 | Damian Rouson | File Added: missed_dependency.tar.bz2 | |||
2016-05-05 10:38 | Brad King | Note Added: 0041029 | |||
2016-05-05 10:40 | Brad King | Note Added: 0041030 | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042998 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|