- 24 May, 2011 10 commits
-
-
Brad King authored
cdc2b41c Fix CompileCommandOutput test build on Windows 7039d1fd Fix CompileCommandOutput test for Make tools not supporting spaces 4268e3d7 run_compile_commands: Cast istream::get() result to char c45c60b2 run_compile_commands: Avoid extra stl vector conversion 7c5be511 run_compile_commands: Avoid shadow in std::map<>::at workaround 169bb05f Provide std::map<>::at for use in run_compile_commands 4e2185cb Make std::map usage more portable in language=>flags/defines maps a7e7a04a Fix run_compile_commands build on Apple GCC 3.3 c9174c0e Fix signed/unsigned comparison in EscapeJSON 8346a28a Only offer the compile command output feature on unix systems 0e6b05fc Adds a test for the compile command line output. 5674844d make compile command output optional fe07b055 implement cxx command output 65c0c24a cache flags and defines 3f064efe refactor flags and defines
-
Kitware Robot authored
-
- 23 May, 2011 4 commits
-
-
David Cole authored
-
Brad King authored
Clang points out that local variable 'seed' needs to be "unsigned int": Source/cmStringCommand.cxx:828:21: warning: operands of ? are integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] srand(force_seed? seed : cmSystemTools::RandomSeed()); ^ ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
Brad King authored
This command is barely functional and exists only for historical reasons. State this in the documentation.
-
Kitware Robot authored
-
- 22 May, 2011 1 commit
-
-
Kitware Robot authored
-
- 21 May, 2011 2 commits
-
-
Eric Noulard authored
-
Kitware Robot authored
-
- 20 May, 2011 5 commits
-
-
Brad King authored
Exclude module symbol mangling because Absoft mangles with ".in." so the symbols cannot be referenced from C.
-
Brad King authored
Use the "-X -v" flag to the Absoft front-end to pass "-v" to the gcc it invokes under the hood. Teach CMakeParseImplicitLinkInfo to exclude linker version lines from consideration as link lines. Fix parsing of Sun's linker search path option "-Y..." to avoid conflict with the Mac linker option "-Y<num>".
-
Brad King authored
Identification at preprocessing time depends on definition of __ABSOFT__ to be added in service pack V11.1.2 of the compiler.
-
Brad King authored
Add dllexport markup for the shared library.
-
Kitware Robot authored
-
- 19 May, 2011 4 commits
-
-
Brad King authored
Use static_cast to avoid warnings like conversion to ‘unsigned int’ from ‘__time_t’ may alter its value conversion to ‘unsigned int’ from ‘__suseconds_t’ may alter its value We do not care if the value is truncated because we are looking for just 32 bits anyway.
-
Brad King authored
Use underscores instead of spaces for such Make tools.
-
Brad King authored
We perform error checking on the stream after reading so this conversion is safe.
-
Kitware Robot authored
-
- 18 May, 2011 3 commits
-
-
Brad King authored
-
Brad King authored
The Sun compiler does not provide the proper vector constructor to initialize it from an iterator pair of a non-matching type. Extend the ParseUnixCommandLine API to provide a vector of the proper type so no conversion is needed.
-
Kitware Robot authored
-
- 17 May, 2011 5 commits
-
-
Brad King authored
The naive time(0) seed is unique only within one second. Instead try to read a real source of entropy and otherwise fall back to a combination of the process id and high-resolution time.
-
Brad King authored
The map has a member called "empty" so use a different name for the local variable in our approximate at() method.
-
Brad King authored
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.
-
Kitware Robot authored
-
- 16 May, 2011 6 commits
-
-
Wesley Turner authored
Fix the OSX X11 CPack generator to make sure the installer that it generates contains executable files.
-
Brad King authored
This compiler does not provide the "at" method of std::map. Approximate it well enough for our needs.
-
Brad King authored
-
Brad King authored
Conflicts: Source/cmGlobalUnixMakefileGenerator3.cxx Source/cmGlobalUnixMakefileGenerator3.h
-
Manuel Klimek authored
-