Wireshark-commits: [Wireshark-commits] master f734628: More selectively prevent warnings from becom

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 11 Sep 2018 19:43:21 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f7346284ac79c49ce995d5f42192d2296305b167
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

f734628 by Guy Harris (guy@xxxxxxxxxxxx):

    More selectively prevent warnings from becoming errors.
    
    Always use -Werror if it's supported, even with Apple's llvm-gcc, and
    only use -Wno-error= with llvm-gcc.  Use -Wno-error= with all the errors
    we get in the buildbot.
    
    Change-Id: I6797f064d2d354f979e24fcb04f592e9313af721
    Reviewed-on: https://code.wireshark.org/review/29612
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  4207660   Revert "Make versions of DIAG_OFF() and DIAG_ON() for GCC 4.2 through 4.5."
     add  f734628   More selectively prevent warnings from becoming errors.


Summary of changes:
 CMakeLists.txt | 36 ++++++++++++++++++++----------------
 1 file changed, 20 insertions(+), 16 deletions(-)