Navigation


Changeset 1033:000e1904074c in freeDiameter for libfdcore


Ignore:
Timestamp:
Apr 16, 2013, 12:45:52 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Children:
1034:f4a73a991623, 1035:2f989d1a21e9
Phase:
public
Message:

Fix a number of additional warnings

Location:
libfdcore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/config.c

    r1027 r1033  
    227227
    228228#ifndef GNUTLS_VERSION_300
     229# pragma GCC diagnostic push
    229230# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
    230231#endif /* !GNUTLS_VERSION_300 */
     
    599600}
    600601#ifndef GNUTLS_VERSION_300
    601 # pragma GCC diagnostic pop "-Wdeprecated-declarations"
     602# pragma GCC diagnostic pop
    602603#endif /* !GNUTLS_VERSION_300 */
    603604
  • libfdcore/core.c

    r1027 r1033  
    3636#include "fdcore-internal.h"
    3737
     38#pragma GCC diagnostic push
    3839#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
    3940#include <gcrypt.h>
    40 #pragma GCC diagnostic pop "-Wdeprecated-declarations"
     41#pragma GCC diagnostic pop
    4142
    4243/* The static configuration structure */
  • libfdcore/endpoints.c

    r976 r1033  
    6464                fd_ep_dump( 4, list );
    6565                TRACE_DEBUG(ANNOYING, "  DEBUG:fd_ep_add_merge  Adding:");
    66                 fd_log_debug("    %s {%s%s%s%s}", buf,
     66                fd_log_debug("    %s {%s%s%s%s%s}", buf,
    6767                                (flags & EP_FL_CONF)    ? "C" : "-",
    6868                                (flags & EP_FL_DISC)        ? "D" : "-",
  • libfdcore/p_psm.c

    r1027 r1033  
    660660                /* At this point the message must have been fully handled already */
    661661                if (msg) {
    662                         fd_msg_log( FD_MSG_LOG_DROPPED, msg, "Internal error: unhandled message.", peer->p_hdr.info.pi_diamid );
     662                        fd_msg_log( FD_MSG_LOG_DROPPED, msg, "Internal error ('%s'): unhandled message.", peer->p_hdr.info.pi_diamid );
    663663                        fd_msg_free(msg);
    664664                }
  • libfdcore/sctps.c

    r1027 r1033  
    231231/* Set the parameters of a session to use the appropriate fifo and stream information */
    232232#ifndef GNUTLS_VERSION_300
     233# pragma GCC diagnostic push
    233234# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
    234235#endif /* !GNUTLS_VERSION_300 */
     
    251252}
    252253#ifndef GNUTLS_VERSION_300
    253 # pragma GCC diagnostic pop "-Wdeprecated-declarations"
     254# pragma GCC diagnostic pop
    254255#endif /* !GNUTLS_VERSION_300 */
    255256
Note: See TracChangeset for help on using the changeset viewer.