[GRASS-dev] latest change in v.surf.bspline breaks it on a Mac

Michael Barton michael.barton at asu.edu
Mon Jan 12 23:53:59 EST 2009


I just updated develbranch_6 svn and compiled. v.surf.bspline will no  
longer compile. Lots of errors (or the same error many times.

See below
Michael


cmb-MBP-2:v.surf.bspline cmbarton$ cd /Users/cmbarton/grass_dev/ 
grass6_src/vector/lidar/v.surf.bspline
cmb-MBP-2:v.surf.bspline cmbarton$ make
gcc -I/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include  -arch i386 -Os    -I/Library/Frameworks/GDAL.framework/ 
Versions/1.6/Headers    -DPACKAGE=\""grassmods"\"  -I/Users/cmbarton/ 
grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/include -o OBJ.i386- 
apple-darwin9.6.0/main.o -c main.c
main.c: In function ‘main’:
main.c:358: error: syntax error before ‘<<’ token
main.c: At top level:
main.c:370: error: syntax error before ‘==’ token
main.c:373: error: initializer element is not constant
main.c:373: warning: data definition has no type or storage class
main.c:375: error: syntax error before ‘if’
main.c:389: error: syntax error before numeric constant
main.c:389: error: conflicting types for ‘G_debug’
main.c:389: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:389: warning: data definition has no type or storage class
main.c:390: error: syntax error before ‘&’ token
main.c:390: warning: data definition has no type or storage class
main.c:391: error: syntax error before ‘&’ token
main.c:391: warning: data definition has no type or storage class
main.c:392: error: syntax error before ‘&’ token
main.c:392: warning: data definition has no type or storage class
main.c:393: error: syntax error before ‘&’ token
main.c:393: warning: data definition has no type or storage class
main.c:402: error: syntax error before ‘&’ token
main.c:402: error: conflicting types for ‘P_zero_dim’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/PolimiFunct.h:98: error: previous declaration of  
‘P_zero_dim’ was here
main.c:402: warning: data definition has no type or storage class
main.c:403: error: syntax error before ‘.’ token
main.c:406: error: syntax error before ‘&’ token
main.c:406: warning: data definition has no type or storage class
main.c:408: error: ‘original_reg’ undeclared here (not in a function)
main.c:408: warning: data definition has no type or storage class
main.c:409: warning: data definition has no type or storage class
main.c:410: error: ‘dims’ undeclared here (not in a function)
main.c:410: warning: data definition has no type or storage class
main.c:411: warning: data definition has no type or storage class
main.c:412: warning: data definition has no type or storage class
main.c:413: warning: data definition has no type or storage class
main.c:415: error: syntax error before ‘if’
main.c:421: warning: initialization makes integer from pointer without  
a cast
main.c:421: error: initializer element is not constant
main.c:421: warning: data definition has no type or storage class
main.c:422: warning: initialization makes integer from pointer without  
a cast
main.c:422: error: initializer element is not constant
main.c:422: warning: data definition has no type or storage class
main.c:423: error: ‘In’ undeclared here (not in a function)
main.c:423: error: initializer element is not constant
main.c:423: warning: data definition has no type or storage class
main.c:432: error: syntax error before ‘.’ token
main.c:434: error: syntax error before numeric constant
main.c:434: warning: data definition has no type or storage class
main.c:435: warning: data definition has no type or storage class
main.c:436: warning: data definition has no type or storage class
main.c:437: error: syntax error before ‘while’
main.c:439: error: syntax error before ‘&’ token
main.c:440: warning: data definition has no type or storage class
main.c:447: error: ‘elaboration_reg’ undeclared here (not in a function)
main.c:448: error: ‘passoN’ undeclared here (not in a function)
main.c:448: error: initializer element is not constant
main.c:448: warning: data definition has no type or storage class
main.c:449: error: syntax error before numeric constant
main.c:449: error: conflicting types for ‘G_debug’
main.c:449: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:449: warning: data definition has no type or storage class
main.c:458: error: redefinition of ‘nsply’
main.c:446: error: previous definition of ‘nsply’ was here
main.c:460: error: initializer element is not constant
main.c:460: warning: data definition has no type or storage class
main.c:461: error: redefinition of ‘last_row’
main.c:436: error: previous definition of ‘last_row’ was here
main.c:461: warning: data definition has no type or storage class
main.c:462: error: syntax error before numeric constant
main.c:462: error: conflicting types for ‘G_debug’
main.c:462: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:462: warning: data definition has no type or storage class
main.c:468: warning: data definition has no type or storage class
main.c:470: warning: data definition has no type or storage class
main.c:471: error: syntax error before ‘while’
main.c:480: error: syntax error before ‘&’ token
main.c:481: warning: data definition has no type or storage class
main.c:489: error: ‘passoE’ undeclared here (not in a function)
main.c:489: error: initializer element is not constant
main.c:489: warning: data definition has no type or storage class
main.c:490: error: syntax error before numeric constant
main.c:490: error: conflicting types for ‘G_debug’
main.c:490: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:490: warning: data definition has no type or storage class
main.c:499: error: redefinition of ‘last_column’
main.c:468: error: previous definition of ‘last_column’ was here
main.c:499: warning: data definition has no type or storage class
main.c:500: error: redefinition of ‘nsplx’
main.c:487: error: previous definition of ‘nsplx’ was here
main.c:502: error: initializer element is not constant
main.c:502: warning: data definition has no type or storage class
main.c:503: error: syntax error before numeric constant
main.c:503: error: conflicting types for ‘G_debug’
main.c:503: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:503: warning: data definition has no type or storage class
main.c:507: error: syntax error before numeric constant
main.c:508: error: conflicting types for ‘G_debug’
main.c:508: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:508: warning: data definition has no type or storage class
main.c:509: error: syntax error before numeric constant
main.c:510: error: conflicting types for ‘G_debug’
main.c:510: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:510: warning: data definition has no type or storage class
main.c:511: error: syntax error before numeric constant
main.c:512: error: conflicting types for ‘G_debug’
main.c:512: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:512: warning: data definition has no type or storage class
main.c:513: error: syntax error before numeric constant
main.c:514: error: conflicting types for ‘G_debug’
main.c:514: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:514: warning: data definition has no type or storage class
main.c:517: error: initializer element is not constant
main.c:517: warning: data definition has no type or storage class
main.c:519: error: ‘npoints’ undeclared here (not in a function)
main.c:520: warning: initialization makes integer from pointer without  
a cast
main.c:520: error: initializer element is not constant
main.c:520: warning: data definition has no type or storage class
main.c:521: error: syntax error before numeric constant
main.c:523: error: conflicting types for ‘G_debug’
main.c:523: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:523: warning: data definition has no type or storage class
main.c:529: error: initializer element is not constant
main.c:529: warning: data definition has no type or storage class
main.c:530: error: ‘bilin’ undeclared here (not in a function)
main.c:530: error: initializer element is not constant
main.c:530: warning: data definition has no type or storage class
main.c:533: warning: initialization makes integer from pointer without  
a cast
main.c:533: error: initializer element is not constant
main.c:533: warning: data definition has no type or storage class
main.c:534: warning: initialization makes integer from pointer without  
a cast
main.c:534: error: initializer element is not constant
main.c:534: warning: data definition has no type or storage class
main.c:535: warning: initialization makes integer from pointer without  
a cast
main.c:535: error: initializer element is not constant
main.c:535: warning: data definition has no type or storage class
main.c:536: warning: initialization makes integer from pointer without  
a cast
main.c:536: error: initializer element is not constant
main.c:536: warning: data definition has no type or storage class
main.c:537: warning: initialization makes integer from pointer without  
a cast
main.c:537: error: initializer element is not constant
main.c:537: warning: data definition has no type or storage class
main.c:538: warning: initialization makes integer from pointer without  
a cast
main.c:538: error: initializer element is not constant
main.c:538: warning: data definition has no type or storage class
main.c:539: error: conflicting types for ‘obs_mean’
main.c:527: error: previous declaration of ‘obs_mean’ was here
main.c:539: warning: initialization makes integer from pointer without  
a cast
main.c:539: error: initializer element is not constant
main.c:539: warning: data definition has no type or storage class
main.c:541: error: syntax error before ‘if’
main.c:547: error: ‘i’ undeclared here (not in a function)
main.c:547: warning: data definition has no type or storage class
main.c:548: warning: data definition has no type or storage class
main.c:549: warning: data definition has no type or storage class
main.c:550: warning: data definition has no type or storage class
main.c:552: error: syntax error before ‘if’
main.c:557: warning: data definition has no type or storage class
main.c:558: error: syntax error before ‘if’
main.c:565: error: ‘ival’ undeclared here (not in a function)
main.c:565: warning: data definition has no type or storage class
main.c:566: warning: data definition has no type or storage class
main.c:567: error: syntax error before ‘}’ token
main.c:572: error: ‘dval’ undeclared here (not in a function)
main.c:572: warning: data definition has no type or storage class
main.c:573: warning: data definition has no type or storage class
main.c:574: error: syntax error before ‘}’ token
main.c:584: warning: data definition has no type or storage class
main.c:585: error: syntax error before ‘}’ token
main.c:592: error: syntax error before numeric constant
main.c:593: error: conflicting types for ‘G_debug’
main.c:593: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:593: warning: data definition has no type or storage class
main.c:598: warning: parameter names (without types) in function  
declaration
main.c:598: error: conflicting types for ‘G_free’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:45: error: previous declaration of ‘G_free’  
was here
main.c:598: warning: data definition has no type or storage class
main.c:600: error: syntax error before ‘if’
main.c:605: error: syntax error before ‘.’ token
main.c:607: error: conflicting types for ‘normalDefBilin’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/PolimiFunct.h:176: error: previous declaration of  
‘normalDefBilin’ was here
main.c:607: warning: data definition has no type or storage class
main.c:608: warning: parameter names (without types) in function  
declaration
main.c:608: error: conflicting types for ‘nCorrectGrad’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/PolimiFunct.h:186: error: previous declaration of  
‘nCorrectGrad’ was here
main.c:608: warning: data definition has no type or storage class
main.c:609: error: syntax error before ‘}’ token
main.c:615: error: syntax error before ‘.’ token
main.c:617: error: conflicting types for ‘normalDefBicubic’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/PolimiFunct.h:172: error: previous declaration of  
‘normalDefBicubic’ was here
main.c:617: warning: data definition has no type or storage class
main.c:618: warning: parameter names (without types) in function  
declaration
main.c:618: error: conflicting types for ‘nCorrectGrad’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/PolimiFunct.h:186: error: previous declaration of  
‘nCorrectGrad’ was here
main.c:618: warning: data definition has no type or storage class
main.c:619: error: syntax error before ‘}’ token
main.c:621: warning: parameter names (without types) in function  
declaration
main.c:621: error: conflicting types for ‘tcholSolve’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/PolimiFunct.h:160: error: previous declaration of  
‘tcholSolve’ was here
main.c:621: warning: data definition has no type or storage class
main.c:623: warning: parameter names (without types) in function  
declaration
main.c:623: error: conflicting types for ‘G_free_matrix’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:410: error: previous declaration of  
‘G_free_matrix’ was here
main.c:623: warning: data definition has no type or storage class
main.c:624: warning: parameter names (without types) in function  
declaration
main.c:624: error: conflicting types for ‘G_free_vector’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:409: error: previous declaration of  
‘G_free_vector’ was here
main.c:624: warning: data definition has no type or storage class
main.c:625: warning: parameter names (without types) in function  
declaration
main.c:625: error: conflicting types for ‘G_free_vector’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:409: error: previous declaration of  
‘G_free_vector’ was here
main.c:625: warning: data definition has no type or storage class
main.c:627: error: syntax error before ‘if’
main.c:637: error: syntax error before ‘(’ token
main.c:637: error: conflicting types for ‘G_fatal_error’
main.c:637: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:475: error: previous declaration of  
‘G_fatal_error’ was here
main.c:639: error: syntax error before ‘)’ token
main.c:646: error: syntax error before ‘&’ token
main.c:651: error: conflicting types for ‘P_Sparse_Points’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/PolimiFunct.h:131: error: previous declaration of  
‘P_Sparse_Points’ was here
main.c:651: warning: data definition has no type or storage class
main.c:653: warning: parameter names (without types) in function  
declaration
main.c:653: error: conflicting types for ‘G_free_matrix’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:410: error: previous declaration of  
‘G_free_matrix’ was here
main.c:653: warning: data definition has no type or storage class
main.c:654: warning: parameter names (without types) in function  
declaration
main.c:654: error: conflicting types for ‘G_free_vector’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:409: error: previous declaration of  
‘G_free_vector’ was here
main.c:654: warning: data definition has no type or storage class
main.c:655: error: syntax error before ‘}’ token
main.c:662: error: conflicting types for ‘observ_ext’
main.c:660: error: previous declaration of ‘observ_ext’ was here
main.c:663: error: ‘In_ext’ undeclared here (not in a function)
main.c:665: error: ‘npoints_ext’ undeclared here (not in a function)
main.c:666: warning: initialization makes integer from pointer without  
a cast
main.c:666: error: initializer element is not constant
main.c:666: warning: data definition has no type or storage class
main.c:668: error: conflicting types for ‘obsVect_ext’
main.c:659: error: previous declaration of ‘obsVect_ext’ was here
main.c:668: warning: initialization makes integer from pointer without  
a cast
main.c:668: error: initializer element is not constant
main.c:668: warning: data definition has no type or storage class
main.c:669: warning: initialization makes integer from pointer without  
a cast
main.c:669: error: initializer element is not constant
main.c:669: warning: data definition has no type or storage class
main.c:671: error: syntax error before ‘for’
main.c:673: warning: data definition has no type or storage class
main.c:674: error: ‘mean’ undeclared here (not in a function)
main.c:674: warning: data definition has no type or storage class
main.c:675: warning: data definition has no type or storage class
main.c:676: error: syntax error before ‘}’ token
main.c:678: warning: parameter names (without types) in function  
declaration
main.c:678: error: conflicting types for ‘G_free’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:45: error: previous declaration of ‘G_free’  
was here
main.c:678: warning: data definition has no type or storage class
main.c:680: error: syntax error before numeric constant
main.c:681: error: conflicting types for ‘G_debug’
main.c:681: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:681: warning: data definition has no type or storage class
main.c:682: error: syntax error before ‘&’ token
main.c:687: error: conflicting types for ‘P_Sparse_Points’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/PolimiFunct.h:131: error: previous declaration of  
‘P_Sparse_Points’ was here
main.c:687: warning: data definition has no type or storage class
main.c:689: warning: parameter names (without types) in function  
declaration
main.c:689: error: conflicting types for ‘G_free_matrix’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:410: error: previous declaration of  
‘G_free_matrix’ was here
main.c:689: warning: data definition has no type or storage class
main.c:690: warning: parameter names (without types) in function  
declaration
main.c:690: error: conflicting types for ‘G_free_vector’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:409: error: previous declaration of  
‘G_free_vector’ was here
main.c:690: warning: data definition has no type or storage class
main.c:691: warning: parameter names (without types) in function  
declaration
main.c:691: error: conflicting types for ‘G_free_ivector’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:676: error: previous declaration of  
‘G_free_ivector’ was here
main.c:691: warning: data definition has no type or storage class
main.c:692: error: syntax error before ‘}’ token
main.c:697: warning: data definition has no type or storage class
main.c:698: error: syntax error before numeric constant
main.c:699: error: conflicting types for ‘G_debug’
main.c:699: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:699: warning: data definition has no type or storage class
main.c:701: error: ‘general_box’ undeclared here (not in a function)
main.c:702: error: ‘overlap_box’ undeclared here (not in a function)
main.c:704: error: ‘nrows’ undeclared here (not in a function)
main.c:704: warning: passing argument 4 of ‘P_Regular_Points’ makes  
pointer from integer without a cast
main.c:704: warning: passing argument 5 of ‘P_Regular_Points’ makes  
pointer from integer without a cast
main.c:704: warning: initialization makes integer from pointer without  
a cast
main.c:704: error: initializer element is not constant
main.c:704: warning: data definition has no type or storage class
main.c:705: warning: parameter names (without types) in function  
declaration
main.c:705: error: conflicting types for ‘G_free_vector’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:409: error: previous declaration of  
‘G_free_vector’ was here
main.c:705: warning: data definition has no type or storage class
main.c:706: error: syntax error before ‘}’ token
main.c:707: warning: parameter names (without types) in function  
declaration
main.c:707: error: conflicting types for ‘G_free_ivector’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:676: error: previous declaration of  
‘G_free_ivector’ was here
main.c:707: warning: data definition has no type or storage class
main.c:708: error: syntax error before ‘}’ token
main.c:714: error: initializer element is not constant
main.c:714: warning: data definition has no type or storage class
main.c:715: error: initializer element is not constant
main.c:715: warning: data definition has no type or storage class
main.c:716: error: syntax error before numeric constant
main.c:716: warning: data definition has no type or storage class
main.c:723: error: redefinition of ‘subzone’
main.c:714: error: previous definition of ‘subzone’ was here
main.c:723: error: initializer element is not constant
main.c:723: warning: data definition has no type or storage class
main.c:724: error: redefinition of ‘nsubzones’
main.c:715: error: previous definition of ‘nsubzones’ was here
main.c:724: error: initializer element is not constant
main.c:724: warning: data definition has no type or storage class
main.c:725: error: syntax error before numeric constant
main.c:725: warning: data definition has no type or storage class
main.c:740: error: syntax error before numeric constant
main.c:740: error: conflicting types for ‘G_debug’
main.c:740: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:426: error: previous declaration of ‘G_debug’  
was here
main.c:740: warning: data definition has no type or storage class
main.c:746: warning: parameter names (without types) in function  
declaration
main.c:746: error: conflicting types for ‘G_free_matrix’
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:410: error: previous declaration of  
‘G_free_matrix’ was here
main.c:746: warning: data definition has no type or storage class
main.c:747: error: syntax error before ‘}’ token
main.c:750: warning: parameter names (without types) in function  
declaration
main.c:750: warning: data definition has no type or storage class
main.c:752: error: syntax error before ‘&’ token
main.c:752: warning: data definition has no type or storage class
main.c:762: error: syntax error before string constant
main.c:763: error: conflicting types for ‘sprintf’
main.c:763: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
main.c:763: warning: data definition has no type or storage class
main.c:764: error: syntax error before ‘->’ token
main.c:764: warning: data definition has no type or storage class
main.c:766: error: syntax error before ‘->’ token
main.c:766: warning: data definition has no type or storage class
main.c:767: error: syntax error before ‘&’ token
main.c:767: warning: data definition has no type or storage class
main.c:768: error: syntax error before ‘->’ token
main.c:768: warning: data definition has no type or storage class
main.c:771: error: syntax error before string constant
main.c:771: error: conflicting types for ‘G_done_msg’
main.c:771: note: a parameter list with an ellipsis can’t match an  
empty parameter name list declaration
/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.6.0/ 
include/grass/gisdefs.h:437: error: previous declaration of  
‘G_done_msg’ was here
main.c:771: warning: data definition has no type or storage class
main.c:773: error: syntax error before numeric constant
main.c:773: error: conflicting types for ‘exit’
main.c:773: warning: data definition has no type or storage class
make: *** [OBJ.i386-apple-darwin9.6.0/main.o] Error 1
cmb-MBP-2:v.surf.bspline cmbarton$



More information about the grass-dev mailing list