=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/print/fig2dev", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for fig2dev-3.2.8b --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in fig2dev --- all-recursive --- Making all in dev --- encode.o --- --- genbitmaps.o --- --- genbox.o --- --- gencgm.o --- --- gendxf.o --- --- genbitmaps.o --- depbase=`echo genbitmaps.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/opt/pkg/share/fig2dev/i18n\"" -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT genbitmaps.o -MD -MP -MF $depbase.Tpo -c -o genbitmaps.o genbitmaps.c && mv -f $depbase.Tpo $depbase.Po --- encode.o --- depbase=`echo encode.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/opt/pkg/share/fig2dev/i18n\"" -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT encode.o -MD -MP -MF $depbase.Tpo -c -o encode.o encode.c && mv -f $depbase.Tpo $depbase.Po --- genbox.o --- depbase=`echo genbox.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/opt/pkg/share/fig2dev/i18n\"" -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT genbox.o -MD -MP -MF $depbase.Tpo -c -o genbox.o genbox.c && mv -f $depbase.Tpo $depbase.Po --- gencgm.o --- depbase=`echo gencgm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/opt/pkg/share/fig2dev/i18n\"" -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT gencgm.o -MD -MP -MF $depbase.Tpo -c -o gencgm.o gencgm.c && mv -f $depbase.Tpo $depbase.Po --- gendxf.o --- depbase=`echo gendxf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/opt/pkg/share/fig2dev/i18n\"" -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT gendxf.o -MD -MP -MF $depbase.Tpo -c -o gendxf.o gendxf.c && mv -f $depbase.Tpo $depbase.Po --- gencgm.o --- gencgm.c: In function 'point': gencgm.c:331:1: warning: old-style function definition [-Wold-style-definition] 331 | point(p) | ^~~~~ gencgm.c: In function 'conv_pattern_index': gencgm.c:531:12: warning: old-style function definition [-Wold-style-definition] 531 | static int conv_pattern_index(index) | ^~~~~~~~~~~~~~~~~~ gencgm.c: In function 'hatchindex': gencgm.c:538:1: warning: old-style function definition [-Wold-style-definition] 538 | hatchindex(index) | ^~~~~~~~~~ gencgm.c: In function 'cgm_arrow': gencgm.c:689:1: warning: old-style function definition [-Wold-style-definition] 689 | cgm_arrow(P, a, l, dir) | ^~~~~~~~~ gencgm.c: In function 'direction': gencgm.c:783:1: warning: old-style function definition [-Wold-style-definition] 783 | direction(p, q, dir, dist) | ^~~~~~~~~ gencgm.c: In function 'polyline_arrow_adjust': gencgm.c:807:1: warning: old-style function definition [-Wold-style-definition] 807 | polyline_arrow_adjust(P, q, a) | ^~~~~~~~~~~~~~~~~~~~~ gencgm.c: In function 'line': gencgm.c:832:1: warning: old-style function definition [-Wold-style-definition] 832 | line(p, q) | ^~~~ --- genemf.o --- depbase=`echo genemf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/opt/pkg/share/fig2dev/i18n\"" -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT genemf.o -MD -MP -MF $depbase.Tpo -c -o genemf.o genemf.c && mv -f $depbase.Tpo $depbase.Po genemf.c:724:1: error: conflicting types for 'delete_handle'; have 'void(struct emfhandle *)' 724 | delete_handle(struct emfhandle *h) | ^~~~~~~~~~~~~ genemf.c:652:13: note: previous declaration of 'delete_handle' with type 'void(void)' 652 | static void delete_handle(); | ^~~~~~~~~~~~~ genemf.c: In function 'delete_handle': genemf.c:754:9: error: too many arguments to function 'emh_write'; expected 0, have 4 754 | emh_write(&em_so, sizeof(EMRSELECTOBJECT), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:767:5: error: too many arguments to function 'emh_write'; expected 0, have 4 767 | emh_write(&em_so, sizeof(EMRDELETEOBJECT), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:773:1: error: conflicting types for 'clear_current_handle'; have 'void(enum emfhandletype)' 773 | clear_current_handle(enum emfhandletype type) | ^~~~~~~~~~~~~~~~~~~~ genemf.c:653:13: note: previous declaration of 'clear_current_handle' with type 'void(void)' 653 | static void clear_current_handle(); | ^~~~~~~~~~~~~~~~~~~~ genemf.c:787:1: error: conflicting types for 'select_object'; have 'void(unsigned int)' 787 | select_object(unsigned handle) | ^~~~~~~~~~~~~ genemf.c:654:13: note: previous declaration of 'select_object' with type 'void(void)' 654 | static void select_object(); | ^~~~~~~~~~~~~ genemf.c: In function 'select_object': genemf.c:799:5: error: too many arguments to function 'emh_write'; expected 0, have 4 799 | emh_write(&em_so, sizeof(EMRSELECTOBJECT), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:805:1: error: conflicting types for 'use_handle'; have 'void(struct emfhandle *)' 805 | use_handle(struct emfhandle *h) | ^~~~~~~~~~ genemf.c:655:13: note: previous declaration of 'use_handle' with type 'void(void)' 655 | static void use_handle(); | ^~~~~~~~~~ genemf.c:832:1: error: conflicting types for 'get_handle'; have 'struct emfhandle *(enum emfhandletype)' 832 | get_handle(enum emfhandletype type) | ^~~~~~~~~~ genemf.c:656:26: note: previous declaration of 'get_handle' with type 'struct emfhandle *(void)' 656 | static struct emfhandle *get_handle(); | ^~~~~~~~~~ genemf.c:872:1: error: conflicting types for 'conv_color'; have 'int(int)' 872 | conv_color(int colorIndex) | ^~~~~~~~~~ genemf.c:657:12: note: previous declaration of 'conv_color' with type 'int(void)' 657 | static int conv_color(); | ^~~~~~~~~~ genemf.c:908:1: error: conflicting types for 'conv_fill_color'; have 'int(int, int)' 908 | conv_fill_color(int style, int color) | ^~~~~~~~~~~~~~~ genemf.c:658:12: note: previous declaration of 'conv_fill_color' with type 'int(void)' 658 | static int conv_fill_color(); | ^~~~~~~~~~~~~~~ genemf.c:957:1: error: conflicting types for 'conv_fontindex'; have 'int(int, int)' 957 | conv_fontindex(int font, int flags) | ^~~~~~~~~~~~~~ genemf.c:659:12: note: previous declaration of 'conv_fontindex' with type 'int(void)' 659 | static int conv_fontindex(); | ^~~~~~~~~~~~~~ genemf.c:982:1: error: conflicting types for 'conv_capstyle'; have 'int(int)' 982 | conv_capstyle(int cap) | ^~~~~~~~~~~~~ genemf.c:660:12: note: previous declaration of 'conv_capstyle' with type 'int(void)' 660 | static int conv_capstyle(); | ^~~~~~~~~~~~~ genemf.c:1006:1: error: conflicting types for 'conv_joinstyle'; have 'int(int)' 1006 | conv_joinstyle(int join) | ^~~~~~~~~~~~~~ genemf.c:661:12: note: previous declaration of 'conv_joinstyle' with type 'int(void)' 661 | static int conv_joinstyle(); | ^~~~~~~~~~~~~~ genemf.c:1032:1: error: conflicting types for 'conv_linetype'; have 'int(int)' 1032 | conv_linetype(int type) | ^~~~~~~~~~~~~ genemf.c:662:12: note: previous declaration of 'conv_linetype' with type 'int(void)' 662 | static int conv_linetype(); | ^~~~~~~~~~~~~ genemf.c:1046:1: error: conflicting types for 'edgeattr'; have 'void(int, int, int, int, int, int)' 1046 | edgeattr( | ^~~~~~~~ genemf.c:663:13: note: previous declaration of 'edgeattr' with type 'void(void)' 663 | static void edgeattr(); | ^~~~~~~~ genemf.c: In function 'edgeattr': genemf.c:1165:5: error: too many arguments to function 'emh_write'; expected 0, have 4 1165 | emh_write(&em_pn, sizeof(EMREXTCREATEPEN), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1167:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1167 | emh_write(&styleEntry, sizeof styleEntry, (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~~~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:1183:1: error: conflicting types for 'edgevis'; have 'void(int)' 1183 | edgevis(int onoff) | ^~~~~~~ genemf.c:664:13: note: previous declaration of 'edgevis' with type 'void(void)' 664 | static void edgevis(); | ^~~~~~~ genemf.c:1191:1: error: conflicting types for 'bkmode'; have 'void(int)' 1191 | bkmode(int mode) | ^~~~~~ genemf.c:665:13: note: previous declaration of 'bkmode' with type 'void(void)' 665 | static void bkmode(); | ^~~~~~ genemf.c: In function 'bkmode': genemf.c:1206:5: error: too many arguments to function 'emh_write'; expected 0, have 4 1206 | emh_write(&em_bm, sizeof(EMRSETBKMODE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:1211:1: error: conflicting types for 'bkcolor'; have 'void(int)' 1211 | bkcolor(int rgb) | ^~~~~~~ genemf.c:666:13: note: previous declaration of 'bkcolor' with type 'void(void)' 666 | static void bkcolor(); | ^~~~~~~ genemf.c: In function 'bkcolor': genemf.c:1226:5: error: too many arguments to function 'emh_write'; expected 0, have 4 1226 | emh_write(&em_bc, sizeof(EMRSETBKCOLOR), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:1231:1: error: conflicting types for 'create_brush_pattern'; have 'void(unsigned char *, int)' 1231 | create_brush_pattern(unsigned char *bits, int pattern) | ^~~~~~~~~~~~~~~~~~~~ genemf.c:667:13: note: previous declaration of 'create_brush_pattern' with type 'void(void)' 667 | static void create_brush_pattern(); | ^~~~~~~~~~~~~~~~~~~~ genemf.c:1264:1: error: conflicting types for 'fillstyle'; have 'void(int, int, int)' 1264 | fillstyle(int fill_color, int fill_style, int pen_color) | ^~~~~~~~~ genemf.c:668:13: note: previous declaration of 'fillstyle' with type 'void(void)' 668 | static void fillstyle(); | ^~~~~~~~~ genemf.c: In function 'fillstyle': genemf.c:1435:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1435 | emh_write(&em_pb, sizeof(EMRCREATEDIBPATTERNBRUSHPT), (size_t) 1, | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1437:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1437 | emh_write(&bmi, sizeof(BITMAPINFO), (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1438:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1438 | emh_write(hatchcolors, sizeof(RGBQUAD), (size_t) 2, EMH_DATA); | ^~~~~~~~~ ~~~~~~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1439:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1439 | emh_write(bits, bsize, (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1455:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1455 | emh_write(&em_bi, sizeof(EMRCREATEBRUSHINDIRECT), (size_t) 1, | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:1472:1: error: conflicting types for 'textfont'; have 'void(int, double, int)' 1472 | textfont( | ^~~~~~~~ genemf.c:669:13: note: previous declaration of 'textfont' with type 'void(void)' 669 | static void textfont(); | ^~~~~~~~ genemf.c: In function 'textfont': genemf.c:1515:5: error: too many arguments to function 'textunicode'; expected 0, have 4 1515 | textunicode( | ^~~~~~~~~~~ 1516 | #if defined(I18N) && defined(HAVE_ICONV) 1517 | (font < 0 /* locale font */)? localeFonts[-1-font][figLanguage].FaceName : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1518 | #endif | ~~~~~~ 1519 | lfFaceName[font], | ~~~~~~~~~~~~~~~~ genemf.c:701:13: note: declared here 701 | static void textunicode(); | ^~~~~~~~~~~ genemf.c:1544:5: error: too many arguments to function 'emh_write'; expected 0, have 4 1544 | emh_write(&em_fn, sizeof(EMREXTCREATEFONTINDIRECTW), (size_t)1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: In function 'pos2point': genemf.c:1584:13: warning: old-style function definition [-Wold-style-definition] 1584 | static void pos2point(P, p) | ^~~~~~~~~ genemf.c: At top level: genemf.c:1596:1: error: conflicting types for 'arrow_length'; have 'double(F_arrow *)' {aka 'double(struct f_arrow *)'} 1596 | arrow_length(F_arrow *a) | ^~~~~~~~~~~~ genemf.c:672:15: note: previous declaration of 'arrow_length' with type 'double(void)' 672 | static double arrow_length(); | ^~~~~~~~~~~~ genemf.c: In function 'arrow': genemf.c:1626:13: warning: old-style function definition [-Wold-style-definition] 1626 | static void arrow(P, a, l, dir) | ^~~~~ genemf.c:1776:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1776 | emh_write(&em_pl, sizeof(EMRPOLYLINE16), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1777:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1777 | emh_write(apts, sizeof(POINTS), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1801:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1801 | emh_write(&em_pl, sizeof(EMRPOLYLINE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:1802:9: error: too many arguments to function 'emh_write'; expected 0, have 4 1802 | emh_write(aptl, sizeof(POINTL), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: In function 'arc_arrow': genemf.c:1808:13: warning: old-style function definition [-Wold-style-definition] 1808 | static void arc_arrow(p, q, arw, arc) | ^~~~~~~~~ genemf.c:1819:5: error: too many arguments to function 'pos2point'; expected 0, have 2 1819 | pos2point(&P, p); | ^~~~~~~~~ ~~ genemf.c:1584:13: note: declared here 1584 | static void pos2point(P, p) | ^~~~~~~~~ genemf.c:1820:5: error: too many arguments to function 'direction'; expected 0, have 4 1820 | direction(&P, q, &dir, &d); | ^~~~~~~~~ ~~ genemf.c:688:12: note: declared here 688 | static int direction(); | ^~~~~~~~~ genemf.c:1821:5: error: too many arguments to function 'arrow'; expected 0, have 4 1821 | arrow(&P, arw, (F_line *)arc, &dir); | ^~~~~ ~~ genemf.c:1626:13: note: declared here 1626 | static void arrow(P, a, l, dir) | ^~~~~ genemf.c: In function 'arc_arrow_adjust': genemf.c:1826:13: warning: old-style function definition [-Wold-style-definition] 1826 | static void arc_arrow_adjust(p, arwpos, arc, r, arw, adir) | ^~~~~~~~~~~~~~~~ genemf.c:1851:5: error: too many arguments to function 'arc_rotate'; expected 0, have 4 1851 | arc_rotate(p, cx, cy, adir * l / (1.8 * r + l)); | ^~~~~~~~~~ ~ genemf.c:679:13: note: declared here 679 | static void arc_rotate(); | ^~~~~~~~~~ genemf.c:1871:5: error: too many arguments to function 'arc_rotate'; expected 0, have 4 1871 | arc_rotate(arwpos, cx, cy, adir * th); | ^~~~~~~~~~ ~~~~~~ genemf.c:679:13: note: declared here 679 | static void arc_rotate(); | ^~~~~~~~~~ genemf.c:1878:9: error: too many arguments to function 'direction'; expected 0, have 4 1878 | if (direction(&origpos, arwpos, &dir, &dirlen) == false) | ^~~~~~~~~ ~~~~~~~~ genemf.c:688:12: note: declared here 688 | static int direction(); | ^~~~~~~~~ genemf.c:1896:10: error: too many arguments to function 'distance'; expected 0, have 4 1896 | d2 = distance(cx, cy, (double) p2.x, (double) p2.y); | ^~~~~~~~ ~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c:1897:10: error: too many arguments to function 'distance'; expected 0, have 4 1897 | d3 = distance(cx, cy, (double) p3.x, (double) p3.y); | ^~~~~~~~ ~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c:1910:9: error: too many arguments to function 'direction'; expected 0, have 4 1910 | if (direction(&p2, &p1, &dir, &dirlen) == false) | ^~~~~~~~~ ~~~ genemf.c:688:12: note: declared here 688 | static int direction(); | ^~~~~~~~~ genemf.c:1965:9: error: too many arguments to function 'arc_rotate'; expected 0, have 4 1965 | arc_rotate(p, cx, cy, adir * (double)arc->thickness / (2.0 * r)); | ^~~~~~~~~~ ~ genemf.c:679:13: note: declared here 679 | static void arc_rotate(); | ^~~~~~~~~~ genemf.c: At top level: genemf.c:1971:1: error: conflicting types for 'arc_radius'; have 'double(F_arc *)' {aka 'double(struct f_arc *)'} 1971 | arc_radius(F_arc *a) | ^~~~~~~~~~ genemf.c:676:15: note: previous declaration of 'arc_radius' with type 'double(void)' 676 | static double arc_radius(); | ^~~~~~~~~~ genemf.c: In function 'arc_radius': genemf.c:1974:13: error: too many arguments to function 'distance'; expected 0, have 4 1974 | return (distance((double)a->point[0].x, (double)a->point[0].y, | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c:1976:13: error: too many arguments to function 'distance'; expected 0, have 4 1976 | distance((double)a->point[1].x, (double)a->point[1].y, | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c:1978:13: error: too many arguments to function 'distance'; expected 0, have 4 1978 | distance((double)a->point[2].x, (double)a->point[2].y, | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ genemf.c:689:15: note: declared here 689 | static double distance(); | ^~~~~~~~ genemf.c: At top level: genemf.c:1984:1: error: conflicting types for 'translate'; have 'void(double *, double *, double, double)' 1984 | translate(double *x, double *y, double tx, double ty) | ^~~~~~~~~ genemf.c:677:13: note: previous declaration of 'translate' with type 'void(void)' 677 | static void translate(); | ^~~~~~~~~ genemf.c:1993:1: error: conflicting types for 'rotate'; have 'void(double *, double *, double)' 1993 | rotate(double *x, double *y, double angle) | ^~~~~~ genemf.c:678:13: note: previous declaration of 'rotate' with type 'void(void)' 678 | static void rotate(); | ^~~~~~ genemf.c: In function 'arc_rotate': genemf.c:2003:13: warning: old-style function definition [-Wold-style-definition] 2003 | static void arc_rotate(p, cx, cy, angle) | ^~~~~~~~~~ genemf.c: At top level: genemf.c:2017:1: error: conflicting types for 'arcoutline'; have 'void(F_arc *)' {aka 'void(struct f_arc *)'} 2017 | arcoutline(F_arc *a) | ^~~~~~~~~~ genemf.c:680:13: note: previous declaration of 'arcoutline' with type 'void(void)' 680 | static void arcoutline(); | ^~~~~~~~~~ genemf.c: In function 'arcoutline': genemf.c:2025:5: error: too many arguments to function 'pos2point'; expected 0, have 2 2025 | pos2point(&p0, &a->point[0]); | ^~~~~~~~~ ~~~ genemf.c:1584:13: note: declared here 1584 | static void pos2point(P, p) | ^~~~~~~~~ genemf.c:2026:5: error: too many arguments to function 'pos2point'; expected 0, have 2 2026 | pos2point(&p2, &a->point[2]); | ^~~~~~~~~ ~~~ genemf.c:1584:13: note: declared here 1584 | static void pos2point(P, p) | ^~~~~~~~~ genemf.c:2029:9: error: too many arguments to function 'arc_arrow_adjust'; expected 0, have 6 2029 | arc_arrow_adjust(&p0, &arwp0, a, r, a->back_arrow, +1.); | ^~~~~~~~~~~~~~~~ ~~~ genemf.c:1826:13: note: declared here 1826 | static void arc_arrow_adjust(p, arwpos, arc, r, arw, adir) | ^~~~~~~~~~~~~~~~ genemf.c:2030:9: error: too many arguments to function 'arc_arrow_adjust'; expected 0, have 6 2030 | arc_arrow_adjust(&p2, &arwp2, a, r, a->for_arrow, -1.); | ^~~~~~~~~~~~~~~~ ~~~ genemf.c:1826:13: note: declared here 1826 | static void arc_arrow_adjust(p, arwpos, arc, r, arw, adir) | ^~~~~~~~~~~~~~~~ genemf.c:2061:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2061 | emh_write(&em_ar, sizeof(EMRARC), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c:2066:9: error: too many arguments to function 'arc_arrow'; expected 0, have 4 2066 | arc_arrow(&a->point[0], &arwp0, a->back_arrow, a); | ^~~~~~~~~ ~~~~~~~~~~~~ genemf.c:1808:13: note: declared here 1808 | static void arc_arrow(p, q, arw, arc) | ^~~~~~~~~ genemf.c:2067:9: error: too many arguments to function 'arc_arrow'; expected 0, have 4 2067 | arc_arrow(&a->point[2], &arwp2, a->for_arrow, a); | ^~~~~~~~~ ~~~~~~~~~~~~ genemf.c:1808:13: note: declared here 1808 | static void arc_arrow(p, q, arw, arc) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2073:1: error: conflicting types for 'arcinterior'; have 'void(F_arc *)' {aka 'void(struct f_arc *)'} 2073 | arcinterior(F_arc *a) | ^~~~~~~~~~~ genemf.c:681:13: note: previous declaration of 'arcinterior' with type 'void(void)' 681 | static void arcinterior(); | ^~~~~~~~~~~ genemf.c: In function 'arcinterior': genemf.c:2095:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2095 | emh_write(&em_ch, sizeof(EMRCHORD), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:2101:1: error: conflicting types for 'arc_reverse'; have 'void(F_arc *)' {aka 'void(struct f_arc *)'} 2101 | arc_reverse(F_arc *arc) | ^~~~~~~~~~~ genemf.c:682:13: note: previous declaration of 'arc_reverse' with type 'void(void)' 682 | static void arc_reverse(); | ^~~~~~~~~~~ genemf.c:2114:1: error: conflicting types for 'circle'; have 'void(F_ellipse *)' {aka 'void(struct f_ellipse *)'} 2114 | circle(F_ellipse *e) | ^~~~~~ genemf.c:683:13: note: previous declaration of 'circle' with type 'void(void)' 683 | static void circle(); | ^~~~~~ genemf.c: In function 'circle': genemf.c:2131:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2131 | emh_write(&em_el, sizeof(EMRELLIPSE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:2137:1: error: conflicting types for 'ellipse'; have 'void(F_ellipse *)' {aka 'void(struct f_ellipse *)'} 2137 | ellipse(F_ellipse *e) | ^~~~~~~ genemf.c:684:13: note: previous declaration of 'ellipse' with type 'void(void)' 684 | static void ellipse(); | ^~~~~~~ genemf.c: In function 'ellipse': genemf.c:2154:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2154 | emh_write(&em_el, sizeof(EMRELLIPSE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:690:15: note: declared here 690 | static size_t emh_write(); | ^~~~~~~~~ genemf.c: At top level: genemf.c:2161:1: error: conflicting types for 'rotated_ellipse'; have 'void(F_ellipse *)' {aka 'void(struct f_ellipse *)'} 2161 | rotated_ellipse(F_ellipse *e) | ^~~~~~~~~~~~~~~ genemf.c:685:13: note: previous declaration of 'rotated_ellipse' with type 'void(void)' 685 | static void rotated_ellipse(); | ^~~~~~~~~~~~~~~ genemf.c: In function 'rotated_ellipse': genemf.c:2209:5: error: too many arguments to function 'shape'; expected 0, have 4 2209 | shape(&l, 0, 0, polygon); | ^~~~~ ~~ genemf.c:699:13: note: declared here 699 | static void shape(); | ^~~~~ genemf.c: At top level: genemf.c:2215:1: error: conflicting types for 'icprod'; have 'int(int, int, int, int)' 2215 | icprod(int x1, int y1, int x2, int y2) | ^~~~~~ genemf.c:686:12: note: previous declaration of 'icprod' with type 'int(void)' 686 | static int icprod(); | ^~~~~~ genemf.c:2224:1: error: conflicting types for 'cwarc'; have 'int(F_arc *)' {aka 'int(struct f_arc *)'} 2224 | cwarc(F_arc *a) | ^~~~~ genemf.c:687:12: note: previous declaration of 'cwarc' with type 'int(void)' 687 | static int cwarc(); | ^~~~~ genemf.c: In function 'direction': genemf.c:2237:12: warning: old-style function definition [-Wold-style-definition] 2237 | static int direction(p, q, dir, dist) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2256:1: error: conflicting types for 'distance'; have 'double(double, double, double, double)' 2256 | distance(double x1, double y1, double x2, double y2) | ^~~~~~~~ genemf.c:689:15: note: previous declaration of 'distance' with type 'double(void)' 689 | static double distance(); | ^~~~~~~~ genemf.c: In function 'emh_write': genemf.c:2266:15: warning: old-style function definition [-Wold-style-definition] 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2280:1: error: conflicting types for 'is_flip'; have 'int(int, int)' 2280 | is_flip(int rot, int flip) | ^~~~~~~ genemf.c:691:12: note: previous declaration of 'is_flip' with type 'int(void)' 691 | static int is_flip(); | ^~~~~~~ genemf.c:2288:1: error: conflicting types for 'encode_bitmap'; have 'void(F_pic *, int, int)' {aka 'void(struct f_pic *, int, int)'} 2288 | encode_bitmap(F_pic *pic, int bpp, int rot) | ^~~~~~~~~~~~~ genemf.c:692:13: note: previous declaration of 'encode_bitmap' with type 'void(void)' 692 | static void encode_bitmap(); | ^~~~~~~~~~~~~ genemf.c: In function 'encode_bitmap': genemf.c:2348:17: error: too many arguments to function 'emh_write'; expected 0, have 4 2348 | emh_write(cbits, (size_t) 4, (size_t) 1, EMH_DATA); \ | ^~~~~~~~~ ~~~~~ genemf.c:2368:21: note: in expansion of macro 'WRITEBITS' 2368 | WRITEBITS; | ^~~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2348:17: error: too many arguments to function 'emh_write'; expected 0, have 4 2348 | emh_write(cbits, (size_t) 4, (size_t) 1, EMH_DATA); \ | ^~~~~~~~~ ~~~~~ genemf.c:2375:25: note: in expansion of macro 'WRITEBITS' 2375 | WRITEBITS; | ^~~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2348:17: error: too many arguments to function 'emh_write'; expected 0, have 4 2348 | emh_write(cbits, (size_t) 4, (size_t) 1, EMH_DATA); \ | ^~~~~~~~~ ~~~~~ genemf.c:2386:13: note: in expansion of macro 'WRITEBITS' 2386 | WRITEBITS; | ^~~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2393:1: error: conflicting types for 'picbox'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2393 | picbox(F_line *l) | ^~~~~~ genemf.c:693:13: note: previous declaration of 'picbox' with type 'void(void)' 693 | static void picbox(); | ^~~~~~ --- genepic.o --- depbase=`echo genepic.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/opt/pkg/share/fig2dev/i18n\"" -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT genepic.o -MD -MP -MF $depbase.Tpo -c -o genepic.o genepic.c && mv -f $depbase.Tpo $depbase.Po --- genemf.o --- genemf.c: In function 'picbox': genemf.c:2549:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2549 | emh_write(&em_sd, sizeof(EMRSTRETCHDIBITS), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2550:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2550 | emh_write(&bmi, sizeof(BITMAPINFO), (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2561:13: error: too many arguments to function 'emh_write'; expected 0, have 4 2561 | emh_write(coltab, coltabsize, (size_t) 1, EMH_DATA); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2577:1: error: conflicting types for 'polygon'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2577 | polygon(F_line *l) | ^~~~~~~ genemf.c:694:13: note: previous declaration of 'polygon' with type 'void(void)' 694 | static void polygon(); | ^~~~~~~ genemf.c: In function 'polygon': genemf.c:2633:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2633 | emh_write(&em_pg, sizeof(EMRPOLYGON16), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2634:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2634 | emh_write(apts, sizeof(POINTS), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2660:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2660 | emh_write(&em_pg, sizeof(EMRPOLYGON), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2661:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2661 | emh_write(aptl, sizeof(POINTL), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: In function 'polyline_adjust': genemf.c:2669:12: warning: old-style function definition [-Wold-style-definition] 2669 | static int polyline_adjust(p, q, l) | ^~~~~~~~~~~~~~~ genemf.c:2676:9: error: too many arguments to function 'direction'; expected 0, have 4 2676 | if (direction(p, q, &dir, &d)) { | ^~~~~~~~~ ~ genemf.c:2237:12: note: declared here 2237 | static int direction(p, q, dir, dist) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2688:1: error: conflicting types for 'polyline'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2688 | polyline(F_line *l) | ^~~~~~~~ genemf.c:696:13: note: previous declaration of 'polyline' with type 'void(void)' 696 | static void polyline(); | ^~~~~~~~ genemf.c: In function 'polyline': genemf.c:2739:17: error: too many arguments to function 'polyline_adjust'; expected 0, have 3 2739 | polyline_adjust(&p0, p0.next, alen); /* shorten line segment */ | ^~~~~~~~~~~~~~~ ~~~ genemf.c:2669:12: note: declared here 2669 | static int polyline_adjust(p, q, l) | ^~~~~~~~~~~~~~~ genemf.c:2757:17: error: too many arguments to function 'polyline_adjust'; expected 0, have 3 2757 | polyline_adjust(&pn, q, alen); /* shorten line segment */ | ^~~~~~~~~~~~~~~ ~~~ genemf.c:2669:12: note: declared here 2669 | static int polyline_adjust(p, q, l) | ^~~~~~~~~~~~~~~ genemf.c:2799:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2799 | emh_write(&em_pl, sizeof(EMRPOLYLINE16), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2800:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2800 | emh_write(apts, sizeof(POINTS), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2828:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2828 | emh_write(&em_pl, sizeof(EMRPOLYLINE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2829:9: error: too many arguments to function 'emh_write'; expected 0, have 4 2829 | emh_write(aptl, sizeof(POINTL), (size_t) cpt, EMH_DATA); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:2844:13: error: too many arguments to function 'direction'; expected 0, have 4 2844 | if (direction(p, q, &dir, &d)) { | ^~~~~~~~~ ~ genemf.c:2237:12: note: declared here 2237 | static int direction(p, q, dir, dist) | ^~~~~~~~~ genemf.c:2845:13: error: too many arguments to function 'arrow'; expected 0, have 4 2845 | arrow(p, l->back_arrow, l, &dir); | ^~~~~ ~ genemf.c:1626:13: note: declared here 1626 | static void arrow(P, a, l, dir) | ^~~~~ genemf.c:2852:13: error: too many arguments to function 'direction'; expected 0, have 4 2852 | if (direction(p, q, &dir, &d)) { | ^~~~~~~~~ ~ genemf.c:2237:12: note: declared here 2237 | static int direction(p, q, dir, dist) | ^~~~~~~~~ genemf.c:2853:13: error: too many arguments to function 'arrow'; expected 0, have 4 2853 | arrow(p, l->for_arrow, l, &dir); | ^~~~~ ~ genemf.c:1626:13: note: declared here 1626 | static void arrow(P, a, l, dir) | ^~~~~ genemf.c: At top level: genemf.c:2860:1: error: conflicting types for 'rect'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2860 | rect(F_line *l) | ^~~~ genemf.c:697:13: note: previous declaration of 'rect' with type 'void(void)' 697 | static void rect(); | ^~~~ genemf.c: In function 'rect': genemf.c:2882:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2882 | emh_write(&em_rt, sizeof(EMRRECTANGLE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2887:1: error: conflicting types for 'roundrect'; have 'void(F_line *)' {aka 'void(struct f_line *)'} 2887 | roundrect(F_line *l) | ^~~~~~~~~ genemf.c:698:13: note: previous declaration of 'roundrect' with type 'void(void)' 698 | static void roundrect(); | ^~~~~~~~~ genemf.c: In function 'roundrect': genemf.c:2910:5: error: too many arguments to function 'emh_write'; expected 0, have 4 2910 | emh_write(&em_rr, sizeof(EMRROUNDRECT), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:2918:1: error: conflicting types for 'shape'; have 'void(F_line *, int, int, void (*)(F_line *))' {aka 'void(struct f_line *, int, int, void (*)(struct f_line *))'} 2918 | shape( | ^~~~~ genemf.c:699:13: note: previous declaration of 'shape' with type 'void(void)' 699 | static void shape(); | ^~~~~ genemf.c:2935:1: error: conflicting types for 'shape_interior'; have 'void(F_line *, void (*)(F_line *))' {aka 'void(struct f_line *, void (*)(struct f_line *))'} 2935 | shape_interior(F_line *l, void (*drawshape)(F_line *)) | ^~~~~~~~~~~~~~ genemf.c:700:13: note: previous declaration of 'shape_interior' with type 'void(void)' 700 | static void shape_interior(); | ^~~~~~~~~~~~~~ genemf.c:2950:1: error: conflicting types for 'textunicode'; have 'void(char *, int *, short int **, int *)' 2950 | textunicode( | ^~~~~~~~~~~ genemf.c:701:13: note: previous declaration of 'textunicode' with type 'void(void)' 701 | static void textunicode(); | ^~~~~~~~~~~ genemf.c:3030:1: error: conflicting types for 'text'; have 'void(int, int, RECTL *, char *)' {aka 'void(int, int, struct tagRECTL *, char *)'} 3030 | text( | ^~~~ genemf.c:702:13: note: previous declaration of 'text' with type 'void(void)' 702 | static void text(); | ^~~~ genemf.c: In function 'text': genemf.c:3067:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3067 | emh_write(&em_tx, sizeof(EMREXTTEXTOUTW), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:3068:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3068 | emh_write(utext, (size_t) 1, (size_t) n_unicode, EMH_DATA); | ^~~~~~~~~ ~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:3075:1: error: conflicting types for 'textcolr'; have 'void(int)' 3075 | textcolr(int color) | ^~~~~~~~ genemf.c:703:13: note: previous declaration of 'textcolr' with type 'void(void)' 703 | static void textcolr(); | ^~~~~~~~ genemf.c: In function 'textcolr': genemf.c:3092:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3092 | emh_write(&em_tc, sizeof(EMRSETTEXTCOLOR), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:3097:1: error: conflicting types for 'textalign'; have 'void(int)' 3097 | textalign(int align) | ^~~~~~~~~ genemf.c:704:13: note: previous declaration of 'textalign' with type 'void(void)' 704 | static void textalign(); | ^~~~~~~~~ genemf.c: In function 'textalign': genemf.c:3111:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3111 | emh_write(&em_ta, sizeof(EMRSETTEXTALIGN), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:3117:1: error: conflicting types for 'moveto'; have 'void(int, int)' 3117 | moveto(int x, int y) | ^~~~~~ genemf.c:706:13: note: previous declaration of 'moveto' with type 'void(void)' 706 | static void moveto(); | ^~~~~~ genemf.c: In function 'moveto': genemf.c:3130:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3130 | emh_write(&em_mv, sizeof(EMRMOVETOEX), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: In function 'genemf_start': genemf.c:3294:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3294 | emh_write(&emh, sizeof(ENHMETAHEADER), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:3295:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3295 | emh_write(uni_description, (size_t) 1, (size_t) n_unicode, EMH_DATA); | ^~~~~~~~~ ~~~~~~~~~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c:3312:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3312 | emh_write(&em_sm, sizeof(EMRSETMAPMODE), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: In function 'genemf_end': genemf.c:3573:5: error: too many arguments to function 'emh_write'; expected 0, have 4 3573 | emh_write(&em_eof, sizeof(EMREOF), (size_t) 1, EMH_RECORD); | ^~~~~~~~~ ~~~~~~~ genemf.c:2266:15: note: declared here 2266 | static size_t emh_write(ptr, size, nmemb, flag) | ^~~~~~~~~ genemf.c: At top level: genemf.c:689:15: warning: 'distance' used but never defined 689 | static double distance(); | ^~~~~~~~ genemf.c:694:13: warning: 'polygon' used but never defined 694 | static void polygon(); | ^~~~~~~ genemf.c:699:13: warning: 'shape' used but never defined 699 | static void shape(); | ^~~~~ genemf.c:701:13: warning: 'textunicode' used but never defined 701 | static void textunicode(); | ^~~~~~~~~~~ *** [genemf.o] Error code 1 bmake[3]: stopped making "all" in /tmp/work/print/fig2dev/work/fig2dev-3.2.8b/fig2dev/dev bmake[3]: 1 error bmake[3]: stopped making "all" in /tmp/work/print/fig2dev/work/fig2dev-3.2.8b/fig2dev/dev bmake[2]: stopped making "all" in /tmp/work/print/fig2dev/work/fig2dev-3.2.8b/fig2dev bmake[1]: stopped making "all-recursive" in /tmp/work/print/fig2dev/work/fig2dev-3.2.8b bmake: stopped making "all" in /tmp/work/print/fig2dev/work/fig2dev-3.2.8b *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/fig2dev *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/fig2dev