https://github.com/Kitware/CMake
Revision ae6fc555a7e8929f6d96545bd1137c8bd378566d authored by Brad King on 20 December 2013, 15:04:32 UTC, committed by Brad King on 20 December 2013, 15:06:45 UTC
The parent commit changed the AutogensType::value_type to be "std::pair<cmQtAutoGenerators,cmTarget const*>" but our std::make_pair call returns "std::pair<cmQtAutoGenerators,cmTarget*>". Construct the value_type directly instead of using make_pair. Otherwise the Sun 5.9 compiler complains ".../Source/cmGlobalGenerator.cxx", line 1281: Error: Formal argument x of type "const std::pair<cmQtAutoGenerators, const cmTarget*>&" in call to "std::vector<std::pair<cmQtAutoGenerators, const cmTarget*> > ::push_back(const std::pair<cmQtAutoGenerators, const cmTarget*>&)" is being passed "std::pair<cmQtAutoGenerators, cmTarget*>".
1 parent c62cd3e
Tip revision: ae6fc555a7e8929f6d96545bd1137c8bd378566d authored by Brad King on 20 December 2013, 15:04:32 UTC
cmGlobalGenerator: Fix value type pushed into autogens vector
cmGlobalGenerator: Fix value type pushed into autogens vector
Tip revision: ae6fc55
File | Mode | Size |
---|---|---|
Auxiliary | ||
Example | ||
Help | ||
Licenses | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 569 bytes |
.hooks-config.bash | -rw-r--r-- | 866 bytes |
CMakeCPack.cmake | -rw-r--r-- | 5.1 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 2.8 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 22.4 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CTestConfig.cmake | -rw-r--r-- | 1.0 KB |
CTestCustom.cmake.in | -rw-r--r-- | 3.3 KB |
CTestCustom.ctest.in | -rw-r--r-- | 145 bytes |
ChangeLog.manual | -rw-r--r-- | 248.2 KB |
ChangeLog.txt | -rw-r--r-- | 2.5 MB |
CompileFlags.cmake | -rw-r--r-- | 2.5 KB |
Copyright.txt | -rw-r--r-- | 2.6 KB |
DartConfig.cmake | -rw-r--r-- | 809 bytes |
DartLocal.conf.in | -rw-r--r-- | 4.0 KB |
Readme.txt | -rw-r--r-- | 1.9 KB |
bootstrap | -rwxr-xr-x | 55.3 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 796 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.4 KB |
Computing file changes ...