=> "/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 ); | ^~~~~ --- gd00files --- echo "done with gd00files" > gd00files --- gd13files --- 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' --- pl.o --- --- gd13files --- 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 ); | ^~~~~ --- pl.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -DPLOTICUS -DUNIX -DTDH_NOREC -DWZ -DNOX11 -DNOSWF -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -c pl.c --- gd13files --- 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 ); | ^~~~~ --- pl.o --- In file included from pl.h:9, from pl.c:9: plg.h:283:8: error: conflicting types for 'atof'; have 'double(void)' 283 | double atof(), sqrt(), log(); | ^~~~ In file included from /usr/include/math.h:266, from plg.h:12: /usr/include/floatingpoint.h:188:15: note: previous declaration of 'atof' with type 'double(const char *)' 188 | extern double atof(const char *); | ^~~~ plg.h:283:16: error: conflicting types for 'sqrt'; have 'double(void)' 283 | double atof(), sqrt(), log(); | ^~~~ /usr/include/math.h:66:15: note: previous declaration of 'sqrt' with type 'double(double)' 66 | extern double sqrt(double); | ^~~~ plg.h:283:24: error: conflicting types for 'log'; have 'double(void)' 283 | double atof(), sqrt(), log(); | ^~~ /usr/include/math.h:61:15: note: previous declaration of 'log' with type 'double(double)' 61 | extern double log(double); | ^~~ pl.c: In function 'PL_version_msg': pl.c:20:1: warning: old-style function definition [-Wold-style-definition] 20 | PL_version_msg( longmsg ) | ^~~~~~~~~~~~~~ pl.c:24:1: error: too many arguments to function 'PL_devstring'; expected 0, have 1 24 | PL_devstring( outputformats ); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~ pl.h:306:12: note: declared here 306 | extern int PL_devstring(); | ^~~~~~~~~~~~ pl.c: In function 'main': pl.c:53:1: warning: old-style function definition [-Wold-style-definition] 53 | main( argc, argv ) | ^~~~ pl.c:61:23: error: conflicting types for 'getenv'; have 'char *(void)' 61 | char *arg, *nextarg, *getenv(); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from pl.h:8: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ pl.c:71:23: error: too many arguments to function 'getenv'; expected 0, have 1 71 | PLS.cgiargs = getenv( "QUERY_STRING" ); | ^~~~~~ ~~~~~~~~~~~~~~ pl.c:61:23: note: declared here 61 | char *arg, *nextarg, *getenv(); | ^~~~~~ pl.c:72:13: error: too many arguments to function 'getenv'; expected 0, have 1 72 | if( getenv( "SCRIPT_FILENAME" )==NULL ) { /* some web servers don't set SCRIPT_FILENAME.. scg 8/27/02 */ | ^~~~~~ ~~~~~~~~~~~~~~~~~ pl.c:61:23: note: declared here 61 | char *arg, *nextarg, *getenv(); | ^~~~~~ pl.h:203:57: error: too many arguments to function 'PL_devavail'; expected 0, have 1 203 | #define devavail( dev ) PL_devavail( dev ) | ^~~~~~~~~~~ pl.c:102:13: note: in expansion of macro 'devavail' 102 | if( devavail( "gif" )) PLGG_setimfmt( "gif" ); | ^~~~~~~~ pl.h:273:12: note: declared here 273 | extern int PL_devavail(); | ^~~~~~~~~~~ pl.c:102:32: error: too many arguments to function 'PLGG_setimfmt'; expected 0, have 1 102 | if( devavail( "gif" )) PLGG_setimfmt( "gif" ); | ^~~~~~~~~~~~~ ~~~~~ pl.c:15:12: note: declared here 15 | extern int PLGG_setimfmt(); | ^~~~~~~~~~~~~ pl.h:203:57: error: too many arguments to function 'PL_devavail'; expected 0, have 1 203 | #define devavail( dev ) PL_devavail( dev ) | ^~~~~~~~~~~ pl.c:103:18: note: in expansion of macro 'devavail' 103 | else if( devavail( "jpeg" )) PLGG_setimfmt( "jpeg" ); | ^~~~~~~~ pl.h:273:12: note: declared here 273 | extern int PL_devavail(); | ^~~~~~~~~~~ pl.c:103:38: error: too many arguments to function 'PLGG_setimfmt'; expected 0, have 1 103 | else if( devavail( "jpeg" )) PLGG_setimfmt( "jpeg" ); | ^~~~~~~~~~~~~ ~~~~~~ pl.c:15:12: note: declared here 15 | extern int PLGG_setimfmt(); | ^~~~~~~~~~~~~ pl.h:203:57: error: too many arguments to function 'PL_devavail'; expected 0, have 1 203 | #define devavail( dev ) PL_devavail( dev ) | ^~~~~~~~~~~ pl.c:104:18: note: in expansion of macro 'devavail' 104 | else if( devavail( "png" )) PLGG_setimfmt( "png" ); | ^~~~~~~~ pl.h:273:12: note: declared here 273 | extern int PL_devavail(); | ^~~~~~~~~~~ pl.c:104:37: error: too many arguments to function 'PLGG_setimfmt'; expected 0, have 1 104 | else if( devavail( "png" )) PLGG_setimfmt( "png" ); | ^~~~~~~~~~~~~ ~~~~~ pl.c:15:12: note: declared here 15 | extern int PLGG_setimfmt(); | ^~~~~~~~~~~~~ pl.c:118:17: error: too many arguments to function 'GL_getcgiarg'; expected 0, have 4 118 | GL_getcgiarg( PL_bigbuf, PLS.cgiargs, &ci, 252 ); | ^~~~~~~~~~~~ ~~~~~~~~~ pl.h:387:12: note: declared here 387 | extern int GL_getcgiarg(); | ^~~~~~~~~~~~ pl.c:122:17: error: too many arguments to function 'GL_getcgiarg'; expected 0, have 4 122 | GL_getcgiarg( &PL_bigbuf[500], PLS.cgiargs, &cii, 252 ); /* share PL_bigbuf */ | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~ pl.h:387:12: note: declared here 387 | extern int GL_getcgiarg(); | ^~~~~~~~~~~~ plg.h:129:33: error: too many arguments to function 'TDH_err'; expected 0, have 3 129 | #define Eerr( n, s, p ) TDH_err( n, s, p ) | ^~~~~~~ pl.c:163:25: note: in expansion of macro 'Eerr' 163 | Eerr( 4916, "-prefab not available in direct cgi mode", "" ); PL_version_msg( 0 ); exit( 1 ); | ^~~~ pl.h:448:12: note: declared here 448 | extern int TDH_err(); | ^~~~~~~ plg.h:129:33: error: too many arguments to function 'TDH_err'; expected 0, have 3 129 | #define Eerr( n, s, p ) TDH_err( n, s, p ) | ^~~~~~~ pl.c:166:25: note: in expansion of macro 'Eerr' 166 | Eerr( 4899, "PLOTICUS_PREFABS environment var not found (pathname of dir where prefab files reside)", "" ); | ^~~~ pl.h:448:12: note: declared here 448 | extern int TDH_err(); | ^~~~~~~ pl.c:175:18: error: too many arguments to function 'GL_smember'; expected 0, have 2 175 | else if( GL_smember( arg, "-? -help -ver -version" ) ) { PL_version_msg( 1 ); exit(0); } | ^~~~~~~~~~ ~~~ pl.h:396:12: note: declared here 396 | extern int GL_smember(); | ^~~~~~~~~~ pl.c:178:24: error: too many arguments to function 'PL_process_arg'; expected 0, have 4 178 | stat = PL_process_arg( arg, nextarg, &valused, &found ); | ^~~~~~~~~~~~~~ ~~~ pl.h:324:12: note: declared here 324 | extern int PL_process_arg(); | ^~~~~~~~~~~~~~ plg.h:129:33: error: too many arguments to function 'TDH_err'; expected 0, have 3 129 | #define Eerr( n, s, p ) TDH_err( n, s, p ) | ^~~~~~~ pl.c:180:47: note: in expansion of macro 'Eerr' 180 | if( !found && arg[0] == '-' ) Eerr( 4892, "warning, unrecognized argument", arg ); | ^~~~ pl.h:448:12: note: declared here 448 | extern int TDH_err(); | ^~~~~~~ plg.h:129:33: error: too many arguments to function 'TDH_err'; expected 0, have 3 129 | #define Eerr( n, s, p ) TDH_err( n, s, p ) | ^~~~~~~ pl.c:201:17: note: in expansion of macro 'Eerr' 201 | Eerr( 2740, "cgi mode: script file name may not begin with '/'", scriptfile ); | ^~~~ pl.h:448:12: note: declared here 448 | extern int TDH_err(); | ^~~~~~~ pl.c:204:13: error: too many arguments to function 'GL_slmember'; expected 0, have 2 204 | if( GL_slmember( scriptfile, "*..* .*" ) ) { | ^~~~~~~~~~~ ~~~~~~~~~~ pl.h:395:12: note: declared here 395 | extern int GL_slmember(); | ^~~~~~~~~~~ plg.h:129:33: error: too many arguments to function 'TDH_err'; expected 0, have 3 129 | #define Eerr( n, s, p ) TDH_err( n, s, p ) | ^~~~~~~ pl.c:205:17: note: in expansion of macro 'Eerr' 205 | Eerr( 2740, "cgi mode: script file name may not begin with '.' or contain '..'", scriptfile ); | ^~~~ pl.h:448:12: note: declared here 448 | extern int TDH_err(); | ^~~~~~~ pl.h:204:57: error: too many arguments to function 'PL_devnamemap'; expected 0, have 3 204 | #define devnamemap( s, t, mode ) PL_devnamemap( s, t, mode ) | ^~~~~~~~~~~~~ pl.c:209:9: note: in expansion of macro 'devnamemap' 209 | devnamemap( &(PLS.device), imagetype, 2 ); | ^~~~~~~~~~ pl.h:274:12: note: declared here 274 | extern int PL_devnamemap(); | ^~~~~~~~~~~~~ plg.h:129:33: error: too many arguments to function 'TDH_err'; expected 0, have 3 129 | #define Eerr( n, s, p ) TDH_err( n, s, p ) | ^~~~~~~ pl.c:224:29: note: in expansion of macro 'Eerr' 224 | if( tfp == NULL ) { Eerr( 102, "Cannot open tmp file for stdin script\n", scriptfile ); PL_version_msg( 0 ); exit(1); } | ^~~~ pl.h:448:12: note: declared here 448 | extern int TDH_err(); | ^~~~~~~ pl.c:239:5: error: too many arguments to function 'TDH_getvar'; expected 0, have 2 239 | if( TDH_getvar( "DEVICE", buf ) != 0 ) { /* DEVICE not given on command line, set DEVICE */ | ^~~~~~~~~~ ~~~~~~~~ pl.h:459:12: note: declared here 459 | extern int TDH_getvar(); | ^~~~~~~~~~ pl.h:204:57: error: too many arguments to function 'PL_devnamemap'; expected 0, have 3 204 | #define devnamemap( s, t, mode ) PL_devnamemap( s, t, mode ) | ^~~~~~~~~~~~~ pl.c:240:16: note: in expansion of macro 'devnamemap' 240 | stat = devnamemap( &(PLS.device), buf, 2 ); | ^~~~~~~~~~ pl.h:274:12: note: declared here 274 | extern int PL_devnamemap(); | ^~~~~~~~~~~~~ pl.c:242:9: error: too many arguments to function 'TDH_setvar'; expected 0, have 2 242 | TDH_setvar( "DEVICE", buf ); | ^~~~~~~~~~ ~~~~~~~~ pl.h:465:12: note: declared here 465 | extern int TDH_setvar(); | ^~~~~~~~~~ pl.c:245:9: error: too many arguments to function 'TDH_getvar'; expected 0, have 2 245 | TDH_getvar( "DEVICE", buf ); | ^~~~~~~~~~ ~~~~~~~~ pl.h:459:12: note: declared here 459 | extern int TDH_getvar(); | ^~~~~~~~~~ pl.h:204:57: error: too many arguments to function 'PL_devnamemap'; expected 0, have 3 204 | #define devnamemap( s, t, mode ) PL_devnamemap( s, t, mode ) | ^~~~~~~~~~~~~ pl.c:246:16: note: in expansion of macro 'devnamemap' 246 | stat = devnamemap( &(PLS.device), buf, 1 ); | ^~~~~~~~~~ pl.h:274:12: note: declared here 274 | extern int PL_devnamemap(); | ^~~~~~~~~~~~~ pl.c:258:31: error: too many arguments to function 'GL_member'; expected 0, have 2 258 | if( PLS.outfile[0] == '\0' && GL_member( PLS.device, "egsf" ) ) makeoutfilename( outnamebase, PLS.outfile, PLS.device, 1); | ^~~~~~~~~ ~~~~~~~~~~ pl.h:393:12: note: declared here 393 | extern int GL_member(); | ^~~~~~~~~ pl.h:205:57: error: too many arguments to function 'PL_makeoutfilename'; expected 0, have 4 205 | #define makeoutfilename( s, o, d, p ) PL_makeoutfilename( s, o, d, p ) | ^~~~~~~~~~~~~~~~~~ pl.c:258:65: note: in expansion of macro 'makeoutfilename' 258 | if( PLS.outfile[0] == '\0' && GL_member( PLS.device, "egsf" ) ) makeoutfilename( outnamebase, PLS.outfile, PLS.device, 1); | ^~~~~~~~~~~~~~~ pl.h:275:12: note: declared here 275 | extern int PL_makeoutfilename(); | ^~~~~~~~~~~~~~~~~~ pl.c:263:56: error: too many arguments to function 'GL_member'; expected 0, have 2 263 | if( PLS.viewer[0] != '\0' && PLS.outfile[0] == '\0' && GL_member( PLS.device, "cp")) strcpy( PLS.outfile, "out.ps" ); | ^~~~~~~~~ ~~~~~~~~~~ pl.h:393:12: note: declared here 393 | extern int GL_member(); | ^~~~~~~~~ plg.h:151:57: error: too many arguments to function 'PLG_setoutfilename'; expected 0, have 1 151 | #define Esetoutfilename( name ) PLG_setoutfilename( name ) | ^~~~~~~~~~~~~~~~~~ pl.c:268:9: note: in expansion of macro 'Esetoutfilename' 268 | Esetoutfilename( PLS.outfile ); | ^~~~~~~~~~~~~~~ plg.h:304:12: note: declared here 304 | extern int PLG_setoutfilename(); | ^~~~~~~~~~~~~~~~~~ pl.c:278:8: error: too many arguments to function 'PL_exec_scriptfile'; expected 0, have 1 278 | stat = PL_exec_scriptfile( scriptfile ); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ pl.h:311:12: note: declared here 311 | extern int PL_exec_scriptfile(); | ^~~~~~~~~~~~~~~~~~ pl.c:283:39: error: too many arguments to function 'PL_do_x_button'; expected 0, have 1 283 | if( PLS.eready && PLS.device == 'x' ) PL_do_x_button( "End." ); | ^~~~~~~~~~~~~~ ~~~~~~ pl.h:308:12: note: declared here 308 | extern int PL_do_x_button(); | ^~~~~~~~~~~~~~ plg.h:125:33: error: too many arguments to function 'PLG_pcode'; expected 0, have 4 125 | #define Eendoffile() PLG_pcode( 'Q', 0.0, 0.0, "" ) | ^~~~~~~~~ ~~~ pl.c:285:18: note: in expansion of macro 'Eendoffile' 285 | if( PLS.eready ) Eendoffile(); | ^~~~~~~~~~ plg.h:316:12: note: declared here 316 | extern int PLG_pcode(); | ^~~~~~~~~ plg.h:152:57: error: too many arguments to function 'PLG_getoutfilename'; expected 0, have 1 152 | #define Egetoutfilename( name ) PLG_getoutfilename( name ) | ^~~~~~~~~~~~~~~~~~ pl.c:293:9: note: in expansion of macro 'Egetoutfilename' 293 | Egetoutfilename( &buf[ len ] ); | ^~~~~~~~~~~~~~~ plg.h:305:12: note: declared here 305 | extern int PLG_getoutfilename(); | ^~~~~~~~~~~~~~~~~~ *** [pl.o] Error code 1 bmake: stopped making "pl" in /tmp/work/graphics/ploticus/work/ploticus242/src --- gd13files --- 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 /tmp/work/graphics/ploticus/work/ploticus242/src bmake: 2 errors bmake: stopped making "pl" in /tmp/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