Wireshark-commits: [Wireshark-commits] master f6b8bc3: Make versions of DIAG_OFF() and DIAG_ON() fo

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

Commits:

f6b8bc3 by Guy Harris (guy@xxxxxxxxxxxx):

    Make versions of DIAG_OFF() and DIAG_ON() for GCC 4.2 through 4.5.
    
    The macOS buildbot is currently using llvm-gcc, which is based on GCC
    4.2.
    
    Change-Id: I8497243333410380e1d0bc7fa35bccbf841cada1
    Reviewed-on: https://code.wireshark.org/review/29596
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  259bdc7   Use DIAG_OFF to suppress -Wunused-function.
     add  f6b8bc3   Make versions of DIAG_OFF() and DIAG_ON() for GCC 4.2 through 4.5.


Summary of changes:
 ws_diag_control.h | 86 ++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 72 insertions(+), 14 deletions(-)