SHARE
TWEET

FG 3.4 RC2 compile warnings

Tomaskom Feb 11th, 2015 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. /home/Tom/bin/FlightGear/simgear-3.4.0/simgear/canvas/ShivaVG/src/shPath.c: In function ‘vgInterpolatePath’:
  3. /home/Tom/bin/FlightGear/simgear-3.4.0/simgear/canvas/ShivaVG/src/shPath.c:1249:6: warning: ‘newData’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  4.    if (!newData) {
  5.       ^
  6.  
  7.  
  8. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/iaxclient_lib.c: In function ‘iaxc_initialize’:
  9. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/iaxclient_lib.c:642:3: warning: call to function ‘openal_initialize’ without a real prototype [-Wunprototyped-calls]
  10.    if ( openal_initialize(&audio_driver, 8000) )
  11.    ^
  12. In file included from /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/iaxclient_lib.h:246:0,
  13.                  from /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/iaxclient_lib.c:35:
  14. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/audio_openal.h:4:5: note: ‘openal_initialize’ was declared here
  15.  int openal_initialize();
  16.      ^
  17.  
  18.  
  19. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/flite_hts_engine/flite/src/synth/cst_synth.c:108:23: warning: ‘tokentosegs’ declared ‘static’ but never defined [-Wunused-function]
  20.  static cst_utterance *tokentosegs(cst_utterance *u);
  21.                        ^
  22.  
  23.  
  24. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/flite_hts_engine/flite/src/utils/cst_tokenstream.c: In function ‘ts_get_quoted_token’:
  25. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/flite_hts_engine/flite/src/utils/cst_tokenstream.c:386:9: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]
  26.      int l, p;
  27.          ^
  28.  
  29.  
  30. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/flite_hts_engine/flite/src/utils/cst_tokenstream.c: In function ‘ts_set_stream_pos’:
  31. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/flite_hts_engine/flite/src/utils/cst_tokenstream.c:349:5: warning: ‘new_pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  32.      return ts->file_pos;
  33.      ^
  34.  
  35.  
  36. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/flite_hts_engine/flite/src/utils/cst_val.c: In function ‘cst_utf8_explode’:
  37. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/flite_hts_engine/flite/src/utils/cst_val.c:520:12: warning: variable ‘l’ set but not used [-Wunused-but-set-variable]
  38.      int i, l=0;
  39.             ^
  40.  
  41.  
  42. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/flite_hts_engine/flite/lang/cmulex/cmu_lex.c: In function ‘cmu_lex_init’:
  43. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/flite_hts_engine/flite/lang/cmulex/cmu_lex.c:359:18: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  44.      cmu_lex.data = cmu_lex_data;
  45.                   ^
  46.  
  47.  
  48. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/gsm/src/preprocess.c: In function ‘Gsm_Preprocess’:
  49. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/gsm/src/preprocess.c:89:14: warning: unused variable ‘lsp’ [-Wunused-variable]
  50.    word  msp, lsp;
  51.               ^
  52.  
  53.  
  54. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/sqlite3/sqlite3.c: In function ‘balance’:
  55. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/sqlite3/sqlite3.c:56236:22: warning: array subscript is above array bounds [-Warray-bounds]
  56.          pOld = apCopy[++j];
  57.                       ^
  58.  
  59.  
  60. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/libiax2/src/iax.c: In function ‘iax_transfer’:
  61. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/libiax2/src/iax.c:1354:13: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
  62.   static int res;    //Return Code
  63.              ^
  64.  
  65.  
  66. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/libiax2/src/md5.c: In function ‘MD5Final’:
  67. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/libiax2/src/md5.c:174:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  68.      ((uint32_t *) ctx->in)[14] = ctx->bits[0];
  69.      ^
  70. /home/Tom/bin/FlightGear/flightgear-3.4.0/3rdparty/iaxclient/lib/libiax2/src/md5.c:175:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  71.      ((uint32_t *) ctx->in)[15] = ctx->bits[1];
  72.      ^
  73.  
  74.  
  75. /home/Tom/bin/FlightGear/flightgear-3.4.0/src/Navaids/routePath.cxx:784:21: warning: missing terminating " character [enabled by default]
  76.        P_0= 29.92126 "Hg = 1013.25 mB = 2116.2166 lbs/ft^2
  77.                      ^
  78. /home/Tom/bin/FlightGear/flightgear-3.4.0/src/Navaids/routePath.cxx: In member function ‘int RoutePath::RoutePathPrivate::findNextKnownAltitude(int) const’:
  79. /home/Tom/bin/FlightGear/flightgear-3.4.0/src/Navaids/routePath.cxx:714:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  80.      if (index >= waypoints.size()) {
  81.                                  ^
  82. /home/Tom/bin/FlightGear/flightgear-3.4.0/src/Navaids/routePath.cxx:730:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  83.      if (index == waypoints.size() - 1) {
  84.                                      ^
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top