Wireshark-commits: [Wireshark-commits] master d4ff430: Move packet-kerberos.c to the dirty dissecto
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 19 Dec 2014 21:53:49 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d4ff430b4dc5cf0e3efaabd2ef53778070def558
Submitter: Stephen Fisher (sfisher@xxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d4ff430 by Stephen Fisher (sfisher@xxxxxxx):

    Move packet-kerberos.c to the dirty dissectors because it generates
    warnings (at least on NetBSD), presumably due to our use of
    -Wc++-compat:
    
    ../../asn1/kerberos/packet-kerberos-template.c: In function
    'read_keytab_file':
    ../../asn1/kerberos/packet-kerberos-template.c:497:10: warning: request
    for implicit conversion from 'gpointer' to 'struct enc_key_t *' not
    permitted in C++
    ../../asn1/kerberos/packet-kerberos-template.c:518:21: warning: request
    for implicit conversion from 'gpointer' to 'char *' not permitted in C++
    ../../asn1/kerberos/packet-kerberos-template.c: In function
    'decrypt_krb5_data':
    ../../asn1/kerberos/packet-kerberos-template.c:570:3: warning: enum
    conversion when passing argument 3 of 'krb5_crypto_init' is invalid in
    C++/usr/include/krb5/krb5-protos.h:1208:1: note: expected 'krb5_enctype'
    but argument is of type 'int'
    ../../asn1/kerberos/packet-kerberos-template.c:581:13: warning: request
    for implicit conversion from 'gpointer' to 'guint8 *' not permitted in
    C++
    ../../asn1/kerberos/packet-kerberos-template.c:596:13: warning: request
    for implicit conversion from 'gpointer' to 'char *' not permitted in C++
    
    Change-Id: I17c10fc1df2685ec2e2c1b00cd3b81f62e09c829
    Reviewed-on: https://code.wireshark.org/review/5886
    Reviewed-by: Stephen Fisher <sfisher@xxxxxxx>
    

Actions performed:

    from  0df4eec   Add parenthesis around some generated code so it compiles.  This new code only shows up when the X11 dissector is updated from the latest xcbproto & mesa, which I will commit real soon now (RSN).
    adds  d4ff430   Move packet-kerberos.c to the dirty dissectors because it generates warnings (at least on NetBSD), presumably due to our use of -Wc++-compat:


Summary of changes:
 epan/dissectors/Makefile.common |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)