Changeset 5158


Ignore:
Timestamp:
Aug 11, 2015 7:49:25 AM (6 years ago)
Author:
nanang
Message:

Misc (re #1843): Fixed GCC compile warnings of unused variables in third-party libs.

Location:
pjproject/trunk/third_party
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/build/gsm/config.h

    r1168 r5158  
    88#endif 
    99 
     10#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 402 
     11#  pragma GCC diagnostic ignored "-Wunknown-pragmas" 
     12#  pragma GCC diagnostic ignored "-Wunused-const-variable" 
     13#endif 
     14 
    1015#include <string.h> 
    1116#include "../../gsm/inc/config.h" 
  • pjproject/trunk/third_party/build/speex/config.h

    r4537 r5158  
    3030#endif 
    3131 
     32#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 402 
     33#  pragma GCC diagnostic ignored "-Wunknown-pragmas" 
     34#  pragma GCC diagnostic ignored "-Wunused-but-set-variable" 
     35#endif 
     36 
    3237#include <pj/log.h> 
    3338 
  • pjproject/trunk/third_party/gsm/src/gsm_create.c

    r1168 r5158  
    55 */ 
    66 
     7#include        "config.h" 
     8 
    79static char const       ident[] = "$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_create.c,v 1.4 1996/07/02 09:59:05 jutta Exp $"; 
    8  
    9 #include        "config.h" 
    1010 
    1111#ifdef  HAS_STRING_H 
Note: See TracChangeset for help on using the changeset viewer.