Commit Graph

37 Commits

Author SHA1 Message Date
Kitware Robot
9db3116226 Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the
block.  This is no longer the preferred style.

Run the following shell code:

for c in else endif endforeach endfunction endmacro endwhile; do
    echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04:00
Kitware Robot
77543bde41 Convert CMake-language commands to lower case
Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code:

cmake --help-command-list |
grep -v "cmake version" |
while read c; do
    echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04:00
David Cole
b926cff110 Suppress warnings occurring on the dashboards using the PGI compiler. 2012-03-07 15:06:42 -05:00
David Cole
a9f874d826 Merge topic 'suppress-clang-warning'
f4f94f3 CTestCustom: Suppress clang warning on the dashboard
2012-02-21 15:55:01 -05:00
David Cole
f4f94f3b7f CTestCustom: Suppress clang warning on the dashboard
"argument unused during compilation" -- well, thanks, but ...

If somebody has a fix to eliminate this warning entirely, rather
than simply suppressing it from our dashboard results, I'm all
ears.
2012-02-16 16:03:27 -05:00
Bill Hoffman
ffb27ca3d4 Teach CTest what a ninja error looks like.
This will allow ninja dashboards to show ninja errors as well
as compiler errors from the ninja build.
2012-02-15 15:29:24 -05:00
David Cole
ad6fa0cbca CTestCustom.cmake: Ignore clang's summary warning
Assuming prior text has matched some other warning expression...
2011-09-29 15:44:03 -04:00
David Cole
79701929fb Suppress Qt warning for dashmacmini5 builds
The clang and icc compilers see two lines of warning with
essentially the same message. But the second line does not
say qglobal.h, so remove that part of the warning exclusion
regex. See parent commit for further comments regarding this
warning exclusion.
2011-09-02 14:20:02 -04:00
David Cole
28ce8b7a14 Suppress Qt warning for dashmacmini5 builds
Qt 4.7 and earlier produce a "This version of Mac OS X is unsupported"
warning on Lion, even though they work fine once built. We'll upgrade
this machine to use Qt 4.8 when it's officially released. Until then,
suppress this warning so that we don't miss other "more real" warnings
on the dashboard.
2011-09-01 09:30:57 -04:00
David Cole
1db6955b06 Xcode: Suppress same-old warning again.
They changed the wording of it slightly with Xcode 4.
2011-08-23 13:33:24 -04:00
David Cole
d11f439d8a Suppress erroneous warnings from Intel compiler
Googling for "warning #980: wrong number of actual
arguments to intrinsic function" yields:

http://software.intel.com/en-us/articles/cdiag980/
http://software.intel.com/en-us/articles/diagnostic-980-wrong-number-of-actual-arguments-to-intrinsic-function/

Since the compiler is at fault for issuing the warnings
incorrectly, simply suppress them from CMake dashboard results.
2010-12-31 08:38:14 -05:00
David Cole
1e26f7c68b Suppress "loop was vectorized" "warnings."
Eliminate appearance on dashboard results from Intel compilers.
2010-11-08 11:30:19 -05:00
Brad King
f9f46f19ee Suppress SGI MIPSpro warning 3968
The warning appears everywhere we use static_cast to explicitly truncate
an integer width.  It appears in the form

  cc-3968 CC: WARNING File = ..., Line = ...
    implicit conversion of a 64-bit integral type to a smaller
    integral type (potential portability problem)
      static_cast<...>(...);
      ^

which is strange because a "static_cast" is not implicit.  It also
appears in system library code.
2010-06-09 09:32:34 -04:00
David Cole
0033245e2f Mask out warnings on ferrari dashboard. 2010-06-08 10:43:15 -04:00
Bill Hoffman
8dd99db686 Add more ignore stuff for OpenBSD 2010-05-14 16:28:22 -04:00
Bill Hoffman
65be87b363 Ignore OpenBSD warnings for use of strcpy, etc. 2010-05-13 11:27:16 -04:00
Bill Hoffman
ae6a50aa81 Expand the regular expression for ignoring xcode missing directories. 2010-05-13 11:25:44 -04:00
Bill Hoffman
ce9ff00f23 Exclude warnings for Xcode 2010-05-12 10:09:50 -04:00
Bill Hoffman
8e6872857e Add more excludes for the borland compiler. 2010-04-27 17:44:49 -04:00
Bill Hoffman
c4277b6132 Another pass at removing borland warnings. 2010-04-26 09:22:13 -04:00
Bill Hoffman
70f9078780 Try to remove borland warnings again. 2010-04-25 15:56:10 -04:00
Zach Mullen
6ea9213244 Coverage glob should search in Source dir 2010-04-23 11:22:54 -04:00
Zach Mullen
7049dff85a Implement extra coverage globbing 2010-04-23 09:20:53 -04:00
Bill Hoffman
7b4afe1cec Exclude new warnings that showed up with ctest launcher. 2010-04-06 11:32:43 -04:00
Bill Hoffman
b5cbafe273 exclude warnings from cmbzip2 2009-11-13 22:47:26 -05:00
Bill Hoffman
6db9f9b483 get rid of the rest of the libarchive warnings by not seeing them.. 2009-11-13 08:46:56 -05:00
David Cole
f3a197cc18 Exclude Qt source files from coverage results. 2009-10-24 13:11:03 -04:00
David Cole
44bcba7461 Fix warnings in CMake source code. Suppress rampant warnings emanating from Qt files. 2009-10-01 16:47:08 -04:00
David Cole
a9dcc7fd47 Fix warnings in CMake source code. Suppress warnings in Lexer and Parser files that are 'too hard' to fix. 2009-09-30 11:41:34 -04:00
David Cole
f673294a36 COMP: Mask out shadowed declaration warnings that always follow already masked Utilities/cmtar warnings. 2009-07-10 09:53:50 -04:00
David Cole
f1b3142a2e COMP: Suppress warnings from the Utilities/cmtar code in dashboard results. 2009-07-08 14:43:43 -04:00
Brad King
8f5af6172a ENH: Disable the xmlrpc drop method by default
We've chosen to drop our default dependence on xmlrpc.  Thus we disable
the corresponding CTest submission method and remove the sources for
building xmlrpc locally.  Users can re-enable the method by setting the
CTEST_USE_XMLRPC option to use a system-installed xmlrpc library.
2009-06-11 11:24:56 -04:00
Brad King
276fa3d5e0 COMP: Ignore warning LNK4204 for CMake dashboard
This warning appears for libtar.obj, curltest.obj, and synch_client.obj
regularly on CMake dashboard submissions from VS builds.  They seem to
occur due to some kind of race condition for objects in small targets.
There is nothing wrong with the code, so this just suppresses the
warnings.
2009-01-06 15:05:01 -05:00
David Cole
cba1ad5603 BUG: Exclude try_compile sources and kwsys files from CMake coverage results. 2008-02-25 10:17:17 -05:00
Bill Hoffman
e10a354d7e COMP: exclude some warnings on hp 2007-09-24 11:18:22 -04:00
David Cole
a54169789d ENH: Avoid prompting for admin privileges when running CMakeSetup.exe on Vista by adding a requestedExecutionLevel element to its manifest. 2007-09-11 15:21:37 -04:00
Brad King
b8ac3158ce ENH: Create CTestCustom.cmake instead of CTestCustom.ctest. Create the old file to include the new one for compatibility. This should prevent the long delays of CTest traversing the whole tree looking for CTestCustom.ctest files. 2007-08-31 14:51:09 -04:00