Wireshark-commits: [Wireshark-commits] master b1de8c8: Older versions of Clang don't understand -Wp
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 18 May 2018 22:31:15 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b1de8c87a12ea431e45e86dea85546948937e21e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b1de8c8 by Guy Harris (guy@xxxxxxxxxxxx):

    Older versions of Clang don't understand -Wpedantic.
    
    Define DIAG_OFF_PEDANTIC and DIAG_ON_PEDANTIC, and have it do nothing on
    Clang prior to 4.0.
    
    Change-Id: Ic6b2e607659db66f3210401024bf3f2239665506
    Reviewed-on: https://code.wireshark.org/review/27649
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  1a4f65c   Don't try to download MaxMindDB on Lion or earlier.
    adds  b1de8c8   Older versions of Clang don't understand -Wpedantic.


Summary of changes:
 caputils/iface_monitor.c                      |  8 ++--
 caputils/ws80211_utils.c                      |  8 ++--
 epan/dissectors/packet-asterix.c              | 64 +++++++++++++--------------
 epan/frame_data.h                             |  4 +-
 plugins/epan/ethercat/packet-ecatmb.h         |  4 +-
 plugins/epan/ethercat/packet-ethercat-frame.h |  4 +-
 ws_diag_control.h                             | 23 ++++++++++
 wsutil/plugins.c                              |  4 +-
 8 files changed, 71 insertions(+), 48 deletions(-)