diff options
author | Brad King <brad.king@kitware.com> | 2009-07-14 19:16:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-14 19:16:59 (GMT) |
commit | eff381185a1d95ba365ce7897b733af892c708d6 (patch) | |
tree | bf601cb8ba774c041aa99e58fb2b2fe667afea90 /Source/cmUnsetCommand.h | |
parent | 1e20be319f75dd936b9e057c4de7f3dc5526cee9 (diff) | |
download | CMake-eff381185a1d95ba365ce7897b733af892c708d6.zip CMake-eff381185a1d95ba365ce7897b733af892c708d6.tar.gz CMake-eff381185a1d95ba365ce7897b733af892c708d6.tar.bz2 |
BUG: Avoid SGI preprocessor bug for Fortran Id
The SGI preprocessor /usr/lib/cpp produces bad output on this code:
#if 1
A
#elif 1
B
#else
C
#endif
Both 'A' and 'C' appear in the output! We work around the problem by
using '#elif 1' instead of '#else'.
This fixes detection of the SGI Fortran compiler id in -o32 mode.
Diffstat (limited to 'Source/cmUnsetCommand.h')
0 files changed, 0 insertions, 0 deletions