=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ploticus", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for ploticus-2.42nb17 --- gd00files --- --- gd13files --- --- gd00files --- gcc -I./gd13 -I./ -c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c gdfontt.c --- gd13files --- gcc -c grgd.c -DGD13 -DPLOTICUS -I./gd13 -o grgd13.o grgd.c:38:12: error: conflicting types for 'atoi'; have 'int(void)' 38 | extern int atoi(), chmod(); | ^~~~ In file included from /usr/include/stdlib.h:41, from grgd.c:25: /usr/include/iso/stdlib_iso.h:124:12: note: previous declaration of 'atoi' with type 'int(const char *)' 124 | extern int atoi(const char *); | ^~~~ grgd.c: In function 'PLGG_setimfmt': grgd.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | PLGG_setimfmt( fmt ) | ^~~~~~~~~~~~~ grgd.c: In function 'PLGG_getimfmt': grgd.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | PLGG_getimfmt( fmt ) | ^~~~~~~~~~~~~ grgd.c: In function 'PLGG_getimg': grgd.c:155:1: warning: old-style function definition [-Wold-style-definition] 155 | PLGG_getimg( width, height ) | ^~~~~~~~~~~ grgd.c: In function 'PLGG_setimpixsize': grgd.c:167:1: warning: old-style function definition [-Wold-style-definition] 167 | PLGG_setimpixsize( width, height ) | ^~~~~~~~~~~~~~~~~ grgd.c: In function 'PLGG_setup': grgd.c:178:1: warning: old-style function definition [-Wold-style-definition] 178 | PLGG_setup( name, pixelsinch, ux, uy, upleftx, uplefty, maxdrivervect ) | ^~~~~~~~~~ grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:199:26: note: in expansion of macro 'Eerr' 199 | if( Gm == NULL ) return( Eerr( 12003, "Cannot create working image", "" ) ); | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:202:41: note: in expansion of macro 'Eerr' 202 | if( Gbrush[i] == NULL ) return( Eerr( 12004, "Cannot create brush image", "" ) ); | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c:206:1: error: too many arguments to function 'PLGG_color'; expected 0, have 1 206 | PLGG_color( "white" ); | ^~~~~~~~~~ ~~~~~~~ grgd.c:36:12: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~~~ grgd.c:207:1: error: too many arguments to function 'PLGG_color'; expected 0, have 1 207 | PLGG_color( "black" ); | ^~~~~~~~~~ ~~~~~~~ grgd.c:36:12: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~~~ grgd.c: In function 'PLGG_moveto': grgd.c:220:1: warning: old-style function definition [-Wold-style-definition] 220 | PLGG_moveto( x, y ) | ^~~~~~~~~~~ grgd.c: In function 'PLGG_lineto': grgd.c:229:1: warning: old-style function definition [-Wold-style-definition] 229 | PLGG_lineto( x, y ) | ^~~~~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:233:5: note: in expansion of macro 'Exsca' 233 | a = Exsca( Goldx ); b = Eysca( Goldy ); c = Exsca( x ); d = Eysca( y ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:233:25: note: in expansion of macro 'Eysca' 233 | a = Exsca( Goldx ); b = Eysca( Goldy ); c = Exsca( x ); d = Eysca( y ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:233:45: note: in expansion of macro 'Exsca' 233 | a = Exsca( Goldx ); b = Eysca( Goldy ); c = Exsca( x ); d = Eysca( y ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:233:61: note: in expansion of macro 'Eysca' 233 | a = Exsca( Goldx ); b = Eysca( Goldy ); c = Exsca( x ); d = Eysca( y ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c: In function 'PLGG_rawline': grgd.c:243:1: warning: old-style function definition [-Wold-style-definition] 243 | PLGG_rawline( a, b, c, d ) | ^~~~~~~~~~~~ grgd.c: In function 'PLGG_linetype': grgd.c:252:1: warning: old-style function definition [-Wold-style-definition] 252 | PLGG_linetype( s, x, y ) | ^~~~~~~~~~~~~ grgd.c:257:9: error: too many arguments to function 'atoi'; expected 0, have 1 257 | style = atoi( s ); | ^~~~ ~ grgd.c:38:12: note: declared here 38 | extern int atoi(), chmod(); | ^~~~ grgd.c:258:9: error: too many arguments to function 'PLGG_linestyle'; expected 0, have 3 258 | return( PLGG_linestyle( style, x, y ) ); | ^~~~~~~~~~~~~~ ~~~~~ grgd.c:36:50: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~~~~~~~ grgd.c: In function 'PLGG_linestyle': grgd.c:263:1: warning: old-style function definition [-Wold-style-definition] 263 | PLGG_linestyle( style, linewidth, dashscale ) | ^~~~~~~~~~~~~~ grgd.c:266:1: error: number of arguments doesn't match prototype 266 | { | ^ grgd.c:36:50: error: prototype declaration 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~~~~~~~ grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:281:33: note: in expansion of macro 'Eerr' 281 | Eerr( 12005, "img dashscale out of range", "" ); | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c: In function 'PLGG_pathto': grgd.c:305:1: warning: old-style function definition [-Wold-style-definition] 305 | PLGG_pathto( px, py ) | ^~~~~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:312:30: note: in expansion of macro 'Exsca' 312 | Gptlist[ Gnpts ].x = Exsca( Goldx ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:313:30: note: in expansion of macro 'Eysca' 313 | Gptlist[ Gnpts ].y = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:316:22: note: in expansion of macro 'Exsca' 316 | Gptlist[ Gnpts ].x = Exsca( px ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:317:22: note: in expansion of macro 'Eysca' 317 | Gptlist[ Gnpts ].y = Eysca( py ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c: In function 'PLGG_fill': grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:326:9: note: in expansion of macro 'Eerr' 326 | Eerr( 12007, "warning, not enough points", "" ); | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c: In function 'PLGG_rect': grgd.c:339:1: warning: old-style function definition [-Wold-style-definition] 339 | PLGG_rect( x1, y1, x2, y2, color ) | ^~~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:344:5: note: in expansion of macro 'Exsca' 344 | a = Exsca( x1 ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:345:5: note: in expansion of macro 'Eysca' 345 | b = Eysca( y1 ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:346:5: note: in expansion of macro 'Exsca' 346 | c = Exsca( x2 ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:347:5: note: in expansion of macro 'Eysca' 347 | d = Eysca( y2 ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:348:1: error: too many arguments to function 'PLGG_color'; expected 0, have 1 348 | PLGG_color( color ); | ^~~~~~~~~~ ~~~~~ grgd.c:36:12: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~~~ grgd.c: In function 'PLGG_font': grgd.c:356:1: warning: old-style function definition [-Wold-style-definition] 356 | PLGG_font( s ) | ^~~~~~~~~ grgd.c: In function 'PLGG_textsize': grgd.c:375:1: warning: old-style function definition [-Wold-style-definition] 375 | PLGG_textsize( p ) | ^~~~~~~~~~~~~ grgd.c: In function 'PLGG_chardir': grgd.c:400:1: warning: old-style function definition [-Wold-style-definition] 400 | PLGG_chardir( d ) | ^~~~~~~~~~~~ grgd.c: In function 'PLGG_text': grgd.c:409:1: warning: old-style function definition [-Wold-style-definition] 409 | PLGG_text( s ) | ^~~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:418:5: note: in expansion of macro 'Exsca' 418 | a = Exsca( Goldx ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:418:25: note: in expansion of macro 'Eysca' 418 | a = Exsca( Goldx ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:422:21: note: in expansion of macro 'Exsca' 422 | a = Exsca( x ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:422:37: note: in expansion of macro 'Eysca' 422 | a = Exsca( x ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:423:21: note: in expansion of macro 'Exsca' 423 | c = Exsca( x ); d = Eysca( Goldy + (((double)Gtextsize/100.0)*strlen(s))); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:423:37: note: in expansion of macro 'Eysca' 423 | c = Exsca( x ); d = Eysca( Goldy + (((double)Gtextsize/100.0)*strlen(s))); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:428:21: note: in expansion of macro 'Exsca' 428 | a = Exsca( x ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:428:37: note: in expansion of macro 'Eysca' 428 | a = Exsca( x ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:440:21: note: in expansion of macro 'Exsca' 440 | a = Exsca( Goldx ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:440:41: note: in expansion of macro 'Eysca' 440 | a = Exsca( Goldx ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:441:21: note: in expansion of macro 'Exsca' 441 | c = Exsca( Goldx + (((double)Gtextsize/100.0) * strlen(s)) ); d = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:441:83: note: in expansion of macro 'Eysca' 441 | c = Exsca( Goldx + (((double)Gtextsize/100.0) * strlen(s)) ); d = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:446:21: note: in expansion of macro 'Exsca' 446 | a = Exsca( Goldx ); b = Eysca( y ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:446:41: note: in expansion of macro 'Eysca' 446 | a = Exsca( Goldx ); b = Eysca( y ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c: In function 'PLGG_centext': grgd.c:463:1: warning: old-style function definition [-Wold-style-definition] 463 | PLGG_centext( s ) | ^~~~~~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:477:21: note: in expansion of macro 'Exsca' 477 | a = Exsca( x ); b = Eysca( Goldy - halflen ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:477:37: note: in expansion of macro 'Eysca' 477 | a = Exsca( x ); b = Eysca( Goldy - halflen ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:478:21: note: in expansion of macro 'Exsca' 478 | c = Exsca( x ); d = Eysca( Goldy + halflen ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:478:37: note: in expansion of macro 'Eysca' 478 | c = Exsca( x ); d = Eysca( Goldy + halflen ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:495:29: note: in expansion of macro 'Exsca' 495 | a = Exsca( x ); b = Eysca( y ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:495:45: note: in expansion of macro 'Eysca' 495 | a = Exsca( x ); b = Eysca( y ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:503:21: note: in expansion of macro 'Exsca' 503 | a = Exsca( Goldx - halflen ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:503:51: note: in expansion of macro 'Eysca' 503 | a = Exsca( Goldx - halflen ); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:504:21: note: in expansion of macro 'Exsca' 504 | c = Exsca( Goldx + halflen ); d = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:504:51: note: in expansion of macro 'Eysca' 504 | c = Exsca( Goldx + halflen ); d = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:521:29: note: in expansion of macro 'Exsca' 521 | a = Exsca( x ); b = Eysca( y ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:521:45: note: in expansion of macro 'Eysca' 521 | a = Exsca( x ); b = Eysca( y ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c: In function 'PLGG_rightjust': grgd.c:532:1: warning: old-style function definition [-Wold-style-definition] 532 | PLGG_rightjust( s ) | ^~~~~~~~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:545:21: note: in expansion of macro 'Exsca' 545 | a = Exsca(x); b = Eysca( Goldy - (((double)Gtextsize/100.0)*strlen(s))); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:545:35: note: in expansion of macro 'Eysca' 545 | a = Exsca(x); b = Eysca( Goldy - (((double)Gtextsize/100.0)*strlen(s))); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:546:21: note: in expansion of macro 'Exsca' 546 | c = Exsca(x); d = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:546:35: note: in expansion of macro 'Eysca' 546 | c = Exsca(x); d = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:563:29: note: in expansion of macro 'Exsca' 563 | a = Exsca( x ); b = Eysca( y ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:563:45: note: in expansion of macro 'Eysca' 563 | a = Exsca( x ); b = Eysca( y ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:570:21: note: in expansion of macro 'Exsca' 570 | a = Exsca( Goldx - ((strlen(s))*(Gtextsize/100.0))); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:570:74: note: in expansion of macro 'Eysca' 570 | a = Exsca( Goldx - ((strlen(s))*(Gtextsize/100.0))); b = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:571:21: note: in expansion of macro 'Exsca' 571 | c = Exsca( Goldx ); d = Eysca( Goldy ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:571:41: note: in expansion of macro 'Eysca' 571 | c = Exsca( Goldx ); d = Eysca( Goldy ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:588:29: note: in expansion of macro 'Exsca' 588 | a = Exsca( x ); b = Eysca( y ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:588:45: note: in expansion of macro 'Eysca' 588 | a = Exsca( x ); b = Eysca( y ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c: In function 'PLGG_freetype_twidth': grgd.c:602:1: warning: old-style function definition [-Wold-style-definition] 602 | PLGG_freetype_twidth( txt, font, size, twidth ) | ^~~~~~~~~~~~~~~~~~~~ grgd.c: In function 'PLGG_color': grgd.c:624:1: warning: old-style function definition [-Wold-style-definition] 624 | PLGG_color( color ) | ^~~~~~~~~~ grgd.c:626:1: error: number of arguments doesn't match prototype 626 | { | ^ grgd.c:36:12: error: prototype declaration 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~~~ grgd.c:631:8: error: conflicting types for 'atof'; have 'double(void)' 631 | double atof(); | ^~~~ /usr/include/iso/stdlib_iso.h:123:15: note: previous declaration of 'atof' with type 'double(const char *)' 123 | extern double atof(const char *); | ^~~~ grgd.c:642:13: error: too many arguments to function 'GL_member'; expected 0, have 2 642 | if( GL_member( color[i], "(),/:|-" ) ) color[i] = ' '; | ^~~~~~~~~ ~~~~~~~~ grgd.c:35:23: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~~~ grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:647:24: note: in expansion of macro 'Eerr' 647 | if( n != 3 ) { Eerr( 12008, "Invalid color", color ); return(1); } | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:651:24: note: in expansion of macro 'Eerr' 651 | if( n != 1 ) { Eerr( 12008, "Invalid color", color ); return(1); } | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c:668:13: error: too many arguments to function 'PLG_xrgb_to_rgb'; expected 0, have 4 668 | if (PLG_xrgb_to_rgb( &color[5], &r, &g, &b)) return(1); | ^~~~~~~~~~~~~~~ ~~~~~~~~~ grgd.c:36:81: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~~~~~~~~ grgd.c:671:13: error: too many arguments to function 'PLG_xrgb_to_rgb'; expected 0, have 4 671 | if (PLG_xrgb_to_rgb( &color[1], &r, &g, &b)) return(1); | ^~~~~~~~~~~~~~~ ~~~~~~~~~ grgd.c:36:81: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~~~~~~~~ grgd.c:673:10: error: too many arguments to function 'GL_goodnum'; expected 0, have 2 673 | else if( GL_goodnum( color, &i ) ) { | ^~~~~~~~~~ ~~~~~ grgd.c:35:36: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~~~~ grgd.c:674:13: error: too many arguments to function 'atof'; expected 0, have 1 674 | r = atof( color ); | ^~~~ ~~~~~ grgd.c:631:8: note: declared here 631 | double atof(); | ^~~~ grgd.c:677:6: error: too many arguments to function 'PLG_colorname_to_rgb'; expected 0, have 4 677 | else PLG_colorname_to_rgb( color, &r, &g, &b ); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~ grgd.c:36:100: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~~~~~~~~~~~~~ grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:705:33: note: in expansion of macro 'Eerr' 705 | Eerr( 12010, "Error on img brush color alloc", color ); | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c: In function 'PLGG_pixpt': grgd.c:733:1: warning: old-style function definition [-Wold-style-definition] 733 | PLGG_pixpt( x, y, symcode ) | ^~~~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:746:5: note: in expansion of macro 'Exsca' 746 | a = Exsca( x ); b = Eysca( y ); /* convert to pixel coordinates */ | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:746:21: note: in expansion of macro 'Eysca' 746 | a = Exsca( x ); b = Eysca( y ); /* convert to pixel coordinates */ | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:749:25: error: too many arguments to function 'atof'; expected 0, have 1 749 | radius = (int) (atof( &symcode[9] ) * Gpixelsinch); | ^~~~ ~~~~~~~~~~~ grgd.c:739:8: note: declared here 739 | double atof(); | ^~~~ grgd.c:761:25: error: too many arguments to function 'atof'; expected 0, have 1 761 | radius = (int) (atof( &symcode[9] ) * Gpixelsinch); | ^~~~ ~~~~~~~~~~~ grgd.c:739:8: note: declared here 739 | double atof(); | ^~~~ grgd.c:783:25: error: too many arguments to function 'atof'; expected 0, have 1 783 | radius = (int) (atof( &symcode[10] ) * Gpixelsinch); | ^~~~ ~~~~~~~~~~~~ grgd.c:739:8: note: declared here 739 | double atof(); | ^~~~ grgd.c:797:25: error: too many arguments to function 'atof'; expected 0, have 1 797 | radius = (int) (atof( &symcode[11] ) * Gpixelsinch); | ^~~~ ~~~~~~~~~~~~ grgd.c:739:8: note: declared here 739 | double atof(); | ^~~~ grgd.c:809:25: error: too many arguments to function 'atof'; expected 0, have 1 809 | radius = (int) (atof( &symcode[15] ) * Gpixelsinch); | ^~~~ ~~~~~~~~~~~~ grgd.c:739:8: note: declared here 739 | double atof(); | ^~~~ grgd.c: In function 'PLGG_imload': grgd.c:825:1: warning: old-style function definition [-Wold-style-definition] 825 | PLGG_imload( imgname, width, height ) | ^~~~~~~~~~~ grgd.c: In function 'PLGG_implace': grgd.c:863:1: warning: old-style function definition [-Wold-style-definition] 863 | PLGG_implace( x, y, align, width, height ) | ^~~~~~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:880:47: note: in expansion of macro 'Exsca' 880 | if( strncmp( align, "center", 6 )==0 ) { gx = Exsca( x ) - (width/2); gy = Eysca( y ) - (height/2); } | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:880:76: note: in expansion of macro 'Eysca' 880 | if( strncmp( align, "center", 6 )==0 ) { gx = Exsca( x ) - (width/2); gy = Eysca( y ) - (height/2); } | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:881:51: note: in expansion of macro 'Exsca' 881 | else if( strcmp( align, "topcenter" )==0 ) { gx = Exsca( x ) - (width/2); gy = Eysca( y ); } | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:881:80: note: in expansion of macro 'Eysca' 881 | else if( strcmp( align, "topcenter" )==0 ) { gx = Exsca( x ) - (width/2); gy = Eysca( y ); } | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:882:52: note: in expansion of macro 'Exsca' 882 | else if( strcmp( align, "bottomleft" )==0 ) { gx = Exsca( x ); gy = Eysca( y ) - height; } | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:882:69: note: in expansion of macro 'Eysca' 882 | else if( strcmp( align, "bottomleft" )==0 ) { gx = Exsca( x ); gy = Eysca( y ) - height; } | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:883:13: note: in expansion of macro 'Exsca' 883 | else { gx = Exsca( x ); gy = Eysca( y ); } /* default to top left */ | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:883:30: note: in expansion of macro 'Eysca' 883 | else { gx = Exsca( x ); gy = Eysca( y ); } /* default to top left */ | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:42:25: error: too many arguments to function 'PLG_xsca_inv'; expected 0, have 1 42 | #define Exsca_inv( h ) PLG_xsca_inv( h ) | ^~~~~~~~~~~~ grgd.c:891:9: note: in expansion of macro 'Exsca_inv' 891 | PLG_bb( Exsca_inv( gx ), Eysca_inv( gy ) ); | ^~~~~~~~~ grgd.c:869:8: note: declared here 869 | double PLG_xsca_inv(), PLG_ysca_inv(); | ^~~~~~~~~~~~ grgd.c:43:25: error: too many arguments to function 'PLG_ysca_inv'; expected 0, have 1 43 | #define Eysca_inv( h ) PLG_ysca_inv( h ) | ^~~~~~~~~~~~ grgd.c:891:26: note: in expansion of macro 'Eysca_inv' 891 | PLG_bb( Exsca_inv( gx ), Eysca_inv( gy ) ); | ^~~~~~~~~ grgd.c:869:24: note: declared here 869 | double PLG_xsca_inv(), PLG_ysca_inv(); | ^~~~~~~~~~~~ grgd.c:891:1: error: too many arguments to function 'PLG_bb'; expected 0, have 2 891 | PLG_bb( Exsca_inv( gx ), Eysca_inv( gy ) ); | ^~~~~~ grgd.c:37:12: note: declared here 37 | extern int PLG_bb(), PL_clickmap_getdemomode(), PL_clickmap_show(), PL_clickmap_inprogress(), PL_clickmap_out(); | ^~~~~~ grgd.c:42:25: error: too many arguments to function 'PLG_xsca_inv'; expected 0, have 1 42 | #define Exsca_inv( h ) PLG_xsca_inv( h ) | ^~~~~~~~~~~~ grgd.c:892:9: note: in expansion of macro 'Exsca_inv' 892 | PLG_bb( Exsca_inv( gx + width ), Eysca_inv( gy + height ) ); | ^~~~~~~~~ grgd.c:869:8: note: declared here 869 | double PLG_xsca_inv(), PLG_ysca_inv(); | ^~~~~~~~~~~~ grgd.c:43:25: error: too many arguments to function 'PLG_ysca_inv'; expected 0, have 1 43 | #define Eysca_inv( h ) PLG_ysca_inv( h ) | ^~~~~~~~~~~~ grgd.c:892:34: note: in expansion of macro 'Eysca_inv' 892 | PLG_bb( Exsca_inv( gx + width ), Eysca_inv( gy + height ) ); | ^~~~~~~~~ grgd.c:869:24: note: declared here 869 | double PLG_xsca_inv(), PLG_ysca_inv(); | ^~~~~~~~~~~~ grgd.c:892:1: error: too many arguments to function 'PLG_bb'; expected 0, have 2 892 | PLG_bb( Exsca_inv( gx + width ), Eysca_inv( gy + height ) ); | ^~~~~~ grgd.c:37:12: note: declared here 37 | extern int PLG_bb(), PL_clickmap_getdemomode(), PL_clickmap_show(), PL_clickmap_inprogress(), PL_clickmap_out(); | ^~~~~~ grgd.c: In function 'PLGG_eof': grgd.c:903:1: warning: old-style function definition [-Wold-style-definition] 903 | PLGG_eof( filename, x1, y1, x2, y2 ) | ^~~~~~~~ grgd.c:923:33: error: too many arguments to function 'PL_clickmap_show'; expected 0, have 1 923 | if( PL_clickmap_getdemomode() ) PL_clickmap_show( 'g' ); /* 11/23/01 */ | ^~~~~~~~~~~~~~~~ ~~~ grgd.c:37:49: note: declared here 37 | extern int PLG_bb(), PL_clickmap_getdemomode(), PL_clickmap_show(), PL_clickmap_inprogress(), PL_clickmap_out(); | ^~~~~~~~~~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:931:17: note: in expansion of macro 'Exsca' 931 | width = Exsca( x2 ) - Exsca( x1 ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:931:31: note: in expansion of macro 'Exsca' 931 | width = Exsca( x2 ) - Exsca( x1 ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:932:18: note: in expansion of macro 'Eysca' 932 | height = Eysca( y1 ) - Eysca( y2 ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:932:32: note: in expansion of macro 'Eysca' 932 | height = Eysca( y1 ) - Eysca( y2 ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:934:41: note: in expansion of macro 'Eerr' 934 | if( height < 10 || width < 10 ) return( Eerr( 12012, "Result image is too small - not created", "" ) ); | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c:40:25: error: too many arguments to function 'PLG_xsca'; expected 0, have 1 40 | #define Exsca( h ) PLG_xsca( h ) | ^~~~~~~~ grgd.c:936:6: note: in expansion of macro 'Exsca' 936 | ux = Exsca( x1 ); | ^~~~~ grgd.c:36:26: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:41:25: error: too many arguments to function 'PLG_ysca'; expected 0, have 1 41 | #define Eysca( h ) PLG_ysca( h ) | ^~~~~~~~ grgd.c:937:6: note: in expansion of macro 'Eysca' 937 | uy = Eysca( y2 ); | ^~~~~ grgd.c:36:38: note: declared here 36 | extern int PLGG_color(), PLG_xsca(), PLG_ysca(), PLGG_linestyle(), PLGG_fill(), PLG_xrgb_to_rgb(), PLG_colorname_to_rgb(); | ^~~~~~~~ grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:942:29: note: in expansion of macro 'Eerr' 942 | if( outim == NULL ) return( Eerr( 12013, "Error on creation of image output", "" ) ); | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c:44:22: error: too many arguments to function 'TDH_err'; expected 0, have 3 44 | #define Eerr(a,b,c) TDH_err(a,b,c) | ^~~~~~~ grgd.c:961:29: note: in expansion of macro 'Eerr' 961 | if( outfp == NULL ) return( Eerr( 12014, "Cannot open for write", filename ) ); | ^~~~ grgd.c:35:12: note: declared here 35 | extern int TDH_err(), GL_member(), GL_goodnum(); | ^~~~~~~ grgd.c:979:9: error: too many arguments to function 'chmod'; expected 0, have 2 979 | chmod( filename, 00644 ); | ^~~~~ ~~~~~~~~ grgd.c:38:20: note: declared here 38 | extern int atoi(), chmod(); | ^~~~~ grgd.c:997:32: error: too many arguments to function 'PL_clickmap_out'; expected 0, have 2 997 | if( PL_clickmap_inprogress() ) PL_clickmap_out( ux, uy ); | ^~~~~~~~~~~~~~~ ~~ grgd.c:37:95: note: declared here 37 | extern int PLG_bb(), PL_clickmap_getdemomode(), PL_clickmap_show(), PL_clickmap_inprogress(), PL_clickmap_out(); | ^~~~~~~~~~~~~~~ *** [gd13files] Error code 1 bmake: stopped making "pl" in /home/pbulk/work/graphics/ploticus/work/ploticus242/src --- gd00files --- echo "done with gd00files" > gd00files bmake: 1 error bmake: stopped making "pl" in /home/pbulk/work/graphics/ploticus/work/ploticus242/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ploticus *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ploticus