Wireshark-commits: [Wireshark-commits] master a8523d7: At least some compilers don't allow warning
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 27 Aug 2014 22:06:41 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a8523d7df4f5d05932471526666e4711f13a7ca7
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a8523d7 by Guy Harris (guy@xxxxxxxxxxxx):

    At least some compilers don't allow warning pragmas inside functions.
    
    So wrap the entire function in USES_APPLE_DEPRECATED_API/USES_APPLE_RST.
    
    Change-Id: I6ae3e8ecc40bc407e6f7156ccc5d9dd8c51d650d
    Reviewed-on: https://code.wireshark.org/review/3885
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  2e67941   Use the <wsutil/ws_diag_control.h> stuff to disable -Wdeprecated-declarations.
    adds  a8523d7   At least some compilers don't allow warning pragmas inside functions.


Summary of changes:
 asn1/kerberos/packet-kerberos-template.c |   24 ++++--------------------
 epan/dissectors/packet-kerberos.c        |   30 +++++++-----------------------
 2 files changed, 11 insertions(+), 43 deletions(-)