diff options
author | Brad King <brad.king@kitware.com> | 2011-05-17 12:50:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-05-17 12:50:55 (GMT) |
commit | 4e2185cbd0d37dd642eefdc3365e8985d8f688c0 (patch) | |
tree | 8c04e6f85fc029a3afb4b6a43c64a76868575138 /Tests/CMakeLib | |
parent | a7e7a04aafdcb91e13180f421df550418041d9bf (diff) | |
download | CMake-4e2185cbd0d37dd642eefdc3365e8985d8f688c0.zip CMake-4e2185cbd0d37dd642eefdc3365e8985d8f688c0.tar.gz CMake-4e2185cbd0d37dd642eefdc3365e8985d8f688c0.tar.bz2 |
Make std::map usage more portable in language=>flags/defines maps
Older versions of GCC, the HP compiler, and the SGI MIPSpro compiler do
not like the use of make_pair in this case and the conversions it
requires:
a value of type "const char *" cannot be used to initialize an entity
of type "char [1]"
/usr/include/g++-3/stl_pair.h:68: assignment of read-only location
Instead use a map lookup pattern already used throughout the rest of our
source tree.
Diffstat (limited to 'Tests/CMakeLib')
0 files changed, 0 insertions, 0 deletions