[cmake-developers] [CMake 0016094]: CMake 3.5.1 misinterprets C preprocessor logic
Mantis Bug Tracker
mantis at public.kitware.com
Thu May 5 01:57:06 EDT 2016
The following issue has been SUBMITTED.
======================================================================
https://public.kitware.com/Bug/view.php?id=16094
======================================================================
Reported By: Damian Rouson
Assigned To:
======================================================================
Project: CMake
Issue ID: 16094
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2016-05-05 01:57 EDT
Last Modified: 2016-05-05 01:57 EDT
======================================================================
Summary: 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 ..
======================================================================
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
======================================================================
More information about the cmake-developers
mailing list