c compile error on implicit declaration

bruceyoung01 yangzf01 at gmail.com
Wed Jan 8 11:39:38 PST 2014


The code is downloaded from online. Actually it's a model(WRF). There are
tons of similar warning is my comfile log file. Like the following 

cc -DIWORDSIZE=4 -DMAX_HISTORY=25 -DNMM_CORE=0  -c -g  registry.c 
registry.c:60:3: warning: implicit declaration of function 'sym_forget' is
invalid in C99 [-Wimplicit-function-declaration] 
  sym_forget() ; 
  ^ 
registry.c:132:3: warning: implicit declaration of function
'gen_io_boilerplate' is invalid in C99 [-Wimplicit-function-declaration] 
  gen_io_boilerplate() ;  /* 20091213 jm.  Generate the
io_boilerplate_temporary.inc file */ 
  ^ 
registry.c:134:3: warning: implicit declaration of function 'init_parser' is
invalid in C99 [-Wimplicit-function-declaration] 
  init_parser() ; 
  ^ 
registry.c:157:8: warning: implicit declaration of function 'pre_parse' is
invalid in C99 [-Wimplicit-function-declaration] 
  if ( pre_parse( dir, fp_in, fp_tmp ) ) { 
       ^ 
registry.c:177:3: warning: implicit declaration of function 'check_dimspecs'
is invalid in C99 [-Wimplicit-function-declaration] 
  check_dimspecs() ; 



--
View this message in context: http://mac-os-forge.2317878.n4.nabble.com/c-compile-error-on-implicit-declaration-tp238890p240937.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.


More information about the macports-users mailing list