[cmake-developers] [CMake 0011685]: CHECK_SYMBOL_EXISTS doesn't find enum constants
Mantis Bug Tracker
mantis at public.kitware.com
Wed Jan 12 04:30:13 EST 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=11685
======================================================================
Reported By: Evgeny Kapun
Assigned To:
======================================================================
Project: CMake
Issue ID: 11685
Category: Modules
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-01-12 04:30 EST
Last Modified: 2011-01-12 04:30 EST
======================================================================
Summary: CHECK_SYMBOL_EXISTS doesn't find enum constants
Description:
Sometimes header files use enum constants instead of defines for numeric
constants:
enum {SOMETHING = 0x123};
instead of
#define SOMETHING 0x123
However, it looks like CHECK_SYMBOL_EXISTS thinks symbols defined this way
doesn't exist.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-01-12 04:30 Evgeny Kapun New Issue
======================================================================
More information about the cmake-developers
mailing list