summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'warnings-cleanup'Brad King2021-10-2732-193/+209
|\ | | | | | | | | | | | | | | | | | | | | | | 7e4e192ce2 Source: fix clang-tidy modernize-redundant-void-arg warning 8d671dd94c Source: fix more -Wmissing-prototypes warnings 1cf14f8c03 Source: fix many -Wmissing-prototypes warnings by marking functions static 319944b3d2 Source: fix some -Wunused-macros warnings 5257d9e71a Source: fix only -Wshorten-64-to-32 warning with explicit cast Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6648
| * Source: fix clang-tidy modernize-redundant-void-arg warningSean McBride2021-10-251-1/+1
| |
| * Source: fix more -Wmissing-prototypes warningsSean McBride2021-10-254-7/+6
| |
| * Source: fix many -Wmissing-prototypes warnings by marking functions staticSean McBride2021-10-2527-182/+200
| |
| * Source: fix some -Wunused-macros warningsSean McBride2021-10-252-3/+1
| | | | | | | | | | - deleted one unused define - moved define into #if block where it is used
| * Source: fix only -Wshorten-64-to-32 warning with explicit castSean McBride2021-10-251-1/+2
| |
* | Merge topic 'more-rule-of-3'Brad King2021-10-272-18/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | 8f8f73712a Source: fix more rule of 3 warnings from clang -Wdeprecated Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6659
| * | Source: fix more rule of 3 warnings from clang -WdeprecatedSean McBride2021-10-262-18/+31
| |/
* | Merge topic 'purge-sprintf'Brad King2021-10-2733-77/+96
|\ \ | | | | | | | | | | | | | | | | | | | | | b7e9cd05cd Replace the only non-standard _snprintf with snprintf 5ba6e8ac59 Source: Replace most calls to sprintf with snprintf Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6649
| * | Replace the only non-standard _snprintf with snprintfSean McBride2021-10-251-1/+1
| | |
| * | Source: Replace most calls to sprintf with snprintfSean McBride2021-10-2532-76/+95
| |/
* | Merge topic 'simplify-boolean-expressions'Brad King2021-10-274-12/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | dd918c517d Source: Simplify some boolean expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6654
| * | Source: Simplify some boolean expressionsRose2021-10-234-12/+11
| | |
* | | Merge branch 'release-3.22'Brad King2021-10-270-0/+0
|\ \ \
| * \ \ Merge topic 'envmod-support-mod-to-new-variables' into release-3.22Brad King2021-10-273-7/+27
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 69f95cf1d9 cmCTestRunTest: fix modifying non-existent envvars Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6663
* | \ \ \ Merge topic 'envmod-support-mod-to-new-variables'Brad King2021-10-273-7/+27
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 69f95cf1d9 cmCTestRunTest: fix modifying non-existent envvars Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6663
| * | | | cmCTestRunTest: fix modifying non-existent envvarsBen Boeckel2021-10-263-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When appending or modifying to a variable that has not been modified before, the iterator was not valid, but it was used to insert into the map again. Instead, just use indexing into the map since we know it will exist by the end of the function anyways. Fixes: #22796
* | | | | Merge branch 'release-3.22'Brad King2021-10-270-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'vs-instance-repeat' into release-3.22Brad King2021-10-272-2/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9eaf0932af cmGlobalVisualStudioVersionedGenerator: Fix repeating SetGeneratorInstance Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6665
* | \ \ \ \ Merge topic 'vs-instance-repeat'Brad King2021-10-272-2/+6
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 9eaf0932af cmGlobalVisualStudioVersionedGenerator: Fix repeating SetGeneratorInstance Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6665
| * | | | | cmGlobalVisualStudioVersionedGenerator: Fix repeating SetGeneratorInstanceBrad King2021-10-262-2/+6
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Fix logic added by commit 8917b8512f (cmGlobalVisualStudioVersionedGenerator: Allow repeating SetGeneratorInstance, 2021-10-20) to avoid repeating work.
* | | | | Merge branch 'release-3.22'Brad King2021-10-270-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'doc-ENVIRONMENT_MODIFICATION' into release-3.22Brad King2021-10-271-2/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f6177f05da Help: Clarify ENVIRONMENT_MODIFICATION case sensitivity Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6661
* | \ \ \ \ Merge topic 'doc-ENVIRONMENT_MODIFICATION'Brad King2021-10-271-2/+3
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f6177f05da Help: Clarify ENVIRONMENT_MODIFICATION case sensitivity Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6661
| * | | | | Help: Clarify ENVIRONMENT_MODIFICATION case sensitivityMichael Hirsch2021-10-261-2/+3
| | |/ / / | |/| | |
* | | | | Merge branch 'release-3.22'Brad King2021-10-270-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'hip-flags-append' into release-3.22Brad King2021-10-271-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d0e2775a5 HIP: Add missing space when appending --cuda-host-only Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6662
* | \ \ \ \ Merge topic 'hip-flags-append'Brad King2021-10-271-1/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d0e2775a5 HIP: Add missing space when appending --cuda-host-only Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6662
| * | | | | HIP: Add missing space when appending --cuda-host-onlyBrad King2021-10-261-1/+1
| | |/ / / | |/| | | | | | | | | | | | | Fixes: #22805
* | | | | Merge branch 'release-3.22'Brad King2021-10-270-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'release-3.21' into release-3.22Brad King2021-10-270-0/+0
| |\ \ \ \
* | \ \ \ \ Merge branch 'release-3.21'Brad King2021-10-270-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'backport-3.21-vs2022' into release-3.21Brad King2021-10-272-10/+10
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !6664
* | \ \ \ \ \ Merge branch 'release-3.22'Brad King2021-10-270-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'vs2022' into release-3.22Brad King2021-10-273-14/+10
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b64fc7dbb Help: Drop 3.22 release note for VS 2022 050ed59412 Merge branch 'backport-3.21-vs2022' into vs2022 f3ddc52676 VS: Update Visual Studio 17 2022 generator for the Release Candidates Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6664
* | | | | | | Merge topic 'vs2022'Brad King2021-10-273-14/+10
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b64fc7dbb Help: Drop 3.22 release note for VS 2022 050ed59412 Merge branch 'backport-3.21-vs2022' into vs2022 f3ddc52676 VS: Update Visual Studio 17 2022 generator for the Release Candidates Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6664
| * | | | | | Help: Drop 3.22 release note for VS 2022Brad King2021-10-271-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 3.21.4 release will have full support, so it is not new to the 3.22 series anymore.
| * | | | | | Merge branch 'backport-3.21-vs2022' into vs2022Brad King2021-10-272-10/+10
| |\ \ \ \ \ \ | | |/ / / / / | |/| | / / / | | | |/ / / | | |/| | |
| | * | | | VS: Update Visual Studio 17 2022 generator for the Release CandidatesBrad King2021-10-272-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assume this is close enough to the final release to treat as non-experimental support.
* | | | | | CMake Nightly Date StampKitware Robot2021-10-271-1/+1
| | | | | |
* | | | | | Merge topic 'check-symbol-exists-pedantic-errors'Brad King2021-10-262-0/+26
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1ab7c3cd28 CheckSymbolExists: Work around GCC failure with -pedantic-errors option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6656
| * | | | | | CheckSymbolExists: Work around GCC failure with -pedantic-errors optionTimo Röhling2021-10-222-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC mistakenly issues the pedantic warning "ISO C forbids conversion of function pointer to object pointer type". With -pedantic-errors in the compile flags, that diagnostic prevents check_symbol_exists() from detecting function symbols. The solution is to filter out -pedantic-errors (and -Werror, just to be future proof) before invoking try_compile(). Fixes: #13208
* | | | | | | Merge branch 'release-3.22'Brad King2021-10-260-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge branch 'release-3.21' into release-3.22Brad King2021-10-260-0/+0
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | |
* | | | | | | Merge branch 'release-3.21'Brad King2021-10-260-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge branch 'binutils-llvm-strip' into release-3.21Brad King2021-10-221-1/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !6655
* | \ \ \ \ \ \ Merge branch 'release-3.22'Brad King2021-10-260-0/+0
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | |
| * | | | | | | Merge topic 'binutils-llvm-strip' into release-3.22Brad King2021-10-261-1/+4
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5dd981539f BinUtils: Avoid llvm-strip versions older than Clang 11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6655
* | | | | | | | Merge topic 'binutils-llvm-strip'Brad King2021-10-261-1/+4
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5dd981539f BinUtils: Avoid llvm-strip versions older than Clang 11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6655
| * | | | | | | BinUtils: Avoid llvm-strip versions older than Clang 11Brad King2021-10-221-1/+4
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2) we correctly prefer the more-specific name `llvm-strip` over `strip` when using Clang. However, `llvm-strip` from Clang versions prior to 11 require extra flags to strip everything. Until our `install(TARGETS)` logic learns to add those flags, avoid using older versions of `llvm-strip` by default. Fixes: #22785