Task #1483

Fix warnings ignored by Jenkins

Added by Roland Schulz about 6 years ago. Updated about 4 years ago.

build system
Target version:


We have a couple of warnings which are ignored by Jenkins. That makes the output harder to read and sometimes the parser does show it as warning.

1) cl : Command line warning D9002 : ignoring unknown option '-msse2'
This is caused by the fact that gmx_find_cflag_for_source in cmake/gmxFindFlagsForSource.cmake isn't checking for warnings when checking for the flags. We could use CheckCCompilerFlag.cmake which does check for warnings to fix this. Or is this done on purpose? Alternative we could also simply not add flags for x86-64 on Windows. Or we could disable the D9002 warning.

2) command line remark #10010: option '/GX' is deprecated and will be removed in a future release. See '/help deprecated'
Cause by cmake prior to 2.8.9. Workaround was removed by commit b2074da10d30de. We could either undo the commit, suppress the warning or use a newer cmake version for ICC on Windows.

3) direct access in [] to global weak symbo [] means the weak symbol cannot be overridden at runtime.
I don't really understand why we get that warning.

Related issues

Related to GROMACS - Bug #1461: CMake SIMD tests may add compiler flags that cause warningsClosed03/15/2014
Has duplicate GROMACS - Bug #1535: osx C++ symbol visibility warningsClosed06/27/2014

Associated revisions

Revision bc49850a (diff)
Added by Roland Schulz almost 6 years ago

Add Intel command line warning

Fixes that build was printing a warning for scanner.cpp.

Related to #1483

Change-Id: I8a30fce82ab7ef0bfe735630b1ce4d9bb636b36d


#1 Updated by Teemu Murtola about 6 years ago

  • Related to Bug #1461: CMake SIMD tests may add compiler flags that cause warnings added

#2 Updated by Erik Lindahl about 6 years ago

(1) has been fixed in #1461.

(2) Agree that updating our windows version is better than cluttering our CMake files with workarounds.

Can't help with (3) :-)

#3 Updated by Teemu Murtola about 6 years ago

Which Jenkins configuration has 3)? I have some ideas of what could be the cause, and it's a bit hard to find them in Jenkins (which is the only environment where I could test the fixes).

#4 Updated by Roland Schulz about 6 years ago

3 is Intel on Mac.

#5 Updated by Teemu Murtola about 6 years ago

  • Has duplicate Bug #1535: osx C++ symbol visibility warnings added

#6 Updated by Teemu Murtola almost 6 years ago

  • Category set to build system
  • Target version set to 5.0

The first should now be fixed. The second should only require a change in Jenkins, not in the code. The third could be handled in the linked separate issue. So I propose this is closed after the second is done.

Set the target version based on where the code changes for the first issue were done.

#7 Updated by Roland Schulz almost 6 years ago

2 has been fixed. Stefan updated cmake.

#8 Updated by Mark Abraham almost 6 years ago

  • Target version changed from 5.0 to 5.x

#9 Updated by Gerrit Code Review Bot almost 6 years ago

Gerrit received a related patchset '1' for Issue #1483.
Uploader: Roland Schulz ()
Change-Id: I8a30fce82ab7ef0bfe735630b1ce4d9bb636b36d
Gerrit URL:

#10 Updated by Roland Schulz almost 6 years ago

  • Status changed from New to Closed

Stefan updated cmake and ICC to resolve 2 and 3.

#11 Updated by Mark Abraham about 4 years ago

  • Target version deleted (5.x)

Also available in: Atom PDF