Improve handling of gmock and gcc6
commit398305ea50606c8fd7c1776cfdb27f76df97be83
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 29 Jul 2016 11:56:19 +0000 (29 13:56 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Fri, 29 Jul 2016 12:51:39 +0000 (29 14:51 +0200)
tree96cbf128a957017f6a795040064df321ab6657af
parent989772127e362824ee6173b1e1b2ffe5ea0abedc
Improve handling of gmock and gcc6

This patch reverts commit d6e35c96 that used gcc
-fno-delete-null-pointer-checks to work around implementation errors
in gmock 1.7. There's been no new release of gmock for several years,
but a patch is now available to address this issue.

This commit applies that patch, found at
https://github.com/google/googletest/issues/705#issuecomment-235067917. Updated
our README describing modifications GROMACS has found it necessary to
make.

Fixes #1911

Change-Id: I0d5abe9bf8172f6749bcad97a13765edaa3d4c80
src/external/gmock-1.7.0/CMakeLists.txt
src/external/gmock-1.7.0/README.Gromacs
src/external/gmock-1.7.0/include/gmock/gmock-spec-builders.h