summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-05-17 12:50:55 (GMT)
committerBrad King <brad.king@kitware.com>2011-05-17 12:50:55 (GMT)
commit4e2185cbd0d37dd642eefdc3365e8985d8f688c0 (patch)
tree8c04e6f85fc029a3afb4b6a43c64a76868575138 /Tests/CMakeLib
parenta7e7a04aafdcb91e13180f421df550418041d9bf (diff)
downloadCMake-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