MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0008758 | CMake | CMake | public | 2009-03-18 10:19 | 2016-06-10 14:30 |
Reporter | Denis Scherbakov | ||||
Assigned To | Bill Hoffman | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-6 | ||||
Target Version | Fixed in Version | ||||
Summary | 0008758: CheckSymbolExists does not find a symbol although it exists | ||||
Description | There is a symbol (#define) in math.h called fpclassify(x) which returns type of a floating point variable. CheckSymbolExists does not find it. INCLUDE(CheckSymbolExists) CHECK_SYMBOL_EXISTS(fpclassify math.h HAVE_FPCLASSIFY) Below is a code which compiles /* */ #include <math.h> void cmakeRequireSymbol(int dummy,...){(void)dummy;} int main() { #ifndef fpclassify // cmakeRequireSymbol(0,&fpclassify); #endif #ifndef fpclassify fpclassify_function_does_not_exist(); #else puts("Exists."); #endif return 0; } | ||||
Steps To Reproduce | |||||
Additional Information | CMake 2.6.3 Gentoo Linux Linux Kernel 2.6.28.x | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | CMakeLists.txt (330) 2009-03-18 10:19 https://public.kitware.com/Bug/file/2130/CMakeLists.txt math.h (15,728) 2009-03-23 05:10 https://public.kitware.com/Bug/file/2136/math.h | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-03-18 10:19 | Denis Scherbakov | New Issue | |||
2009-03-18 10:19 | Denis Scherbakov | File Added: CMakeLists.txt | |||
2009-03-18 10:47 | Denis Scherbakov | Note Added: 0015722 | |||
2009-03-18 10:55 | Denis Scherbakov | Note Added: 0015723 | |||
2009-03-22 22:04 | Bill Hoffman | Note Added: 0015753 | |||
2009-03-22 22:04 | Bill Hoffman | Status | new => assigned | ||
2009-03-22 22:04 | Bill Hoffman | Assigned To | => Bill Hoffman | ||
2009-03-23 05:10 | Denis Scherbakov | File Added: math.h | |||
2009-03-23 05:11 | Denis Scherbakov | Note Added: 0015756 | |||
2009-04-27 13:02 | Denis Scherbakov | Note Added: 0016195 | |||
2010-01-22 18:48 | Mateusz Loskot | Note Added: 0019280 | |||
2016-06-10 14:27 | Kitware Robot | Note Added: 0041517 | |||
2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | ||
2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:30 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|