Wireshark-commits: [Wireshark-commits] master 8fd2e10: CMake: silence -Wunsafe-loop-optimizations f

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 20 Apr 2019 06:06:29 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8fd2e102a5c15044384943ae18efa7971aa92c37
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

8fd2e10 by Peter Wu (peter@xxxxxxxxxxxxx):

    CMake: silence -Wunsafe-loop-optimizations for GCC 7
    
    Clang does not implement this option, so do not bother checking it
    there. GCC 6 is fine, GCC 7 is broken and GCC 8 is fixed again.
    
    Change-Id: I3bc9ff4e934e05b1b3ce7d4c4a41bf40d6e38655
    Reviewed-on: https://code.wireshark.org/review/32904
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  6866896   Revert "Test: Disable a wmem compilation warning."
     add  8fd2e10   CMake: silence -Wunsafe-loop-optimizations for GCC 7


Summary of changes:
 CMakeLists.txt | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)