Skip to content

Compilation failure due to too many arguments #5

@limann77

Description

@limann77

Dear Mr. Teuben,

thank your for this repo.

The build with gcc-fortran 15.2.1 fails for me. I'm using the Arch build recipe:

gcc -c -Wall -fPIC -DPG_PPU -O -I. cpg*.c
cpgarro.c: In function 'cpgarro':
cpgarro.c:6:3: error: too many arguments to function 'pgarro_'; expected 0, have 4
    6 |   pgarro_(&x1, &y1, &x2, &y2);
      |   ^~~~~~~ ~~~
cpgarro.c:2:13: note: declared here
    2 | extern void pgarro_();
      |             ^~~~~~~
cpgask.c: In function 'cpgask':
cpgask.c:7:3: error: too many arguments to function 'pgask_'; expected 0, have 1
    7 |   pgask_(&l_flag);
      |   ^~~~~~ ~~~~~~~
cpgask.c:2:13: note: declared here
    2 | extern void pgask_();
      |             ^~~~~~
cpgaxis.c: In function 'cpgaxis':
cpgaxis.c:8:3: error: too many arguments to function 'pgaxis_'; expected 0, have 15
    8 |   pgaxis_((char *)opt, &x1, &y1, &x2, &y2, &v1, &v2, &step, &nsub, &dmajl, &dmajr, &fmin, &disp, &orient, len_opt);
      |   ^~~~~~~ ~~~~~~~~~~~
cpgaxis.c:3:13: note: declared here
    3 | extern void pgaxis_();
      |             ^~~~~~~
cpgband.c: In function 'cpgband':
cpgband.c:9:13: error: too many arguments to function 'pgband_'; expected 0, have 8
    9 |   r_value = pgband_(&mode, &posn, &xref, &yref, x, y, ch_scalar, len_ch_scalar);
      |             ^~~~~~~ ~~~~~
cpgband.c:3:12: note: declared here
    3 | extern int pgband_();
      |            ^~~~~~~
cpgbeg.c: In function 'cpgbeg':
cpgbeg.c:9:13: error: too many arguments to function 'pgbeg_'; expected 0, have 5
    9 |   r_value = pgbeg_(&unit, (char *)file, &nxsub, &nysub, len_file);
      |             ^~~~~~ ~~~~~
cpgbeg.c:3:12: note: declared here
    3 | extern int pgbeg_();
      |            ^~~~~~
cpgbin.c: In function 'cpgbin':
cpgbin.c:7:3: error: too many arguments to function 'pgbin_'; expected 0, have 4
    7 |   pgbin_(&nbin, (float *)x, (float *)data, &l_center);
      |   ^~~~~~ ~~~~~
cpgbin.c:2:13: note: declared here
    2 | extern void pgbin_();
      |             ^~~~~~
cpgbox.c: In function 'cpgbox':
cpgbox.c:9:3: error: too many arguments to function 'pgbox_'; expected 0, have 8
    9 |   pgbox_((char *)xopt, &xtick, &nxsub, (char *)yopt, &ytick, &nysub, len_xopt, len_yopt);
      |   ^~~~~~ ~~~~~~~~~~~~
cpgbox.c:3:13: note: declared here
    3 | extern void pgbox_();
      |             ^~~~~~
cpgcirc.c: In function 'cpgcirc':
cpgcirc.c:6:3: error: too many arguments to function 'pgcirc_'; expected 0, have 3
    6 |   pgcirc_(&xcent, &ycent, &radius);
      |   ^~~~~~~ ~~~~~~
cpgcirc.c:2:13: note: declared here
    2 | extern void pgcirc_();
      |             ^~~~~~~
cpgconb.c: In function 'cpgconb':
cpgconb.c:6:3: error: too many arguments to function 'pgconb_'; expected 0, have 11
    6 |   pgconb_((float *)a, &idim, &jdim, &i1, &i2, &j1, &j2, (float *)c, &nc, (float *)tr, &blank);
      |   ^~~~~~~ ~~~~~~~~~~
cpgconb.c:2:13: note: declared here
    2 | extern void pgconb_();
      |             ^~~~~~~
cpgconf.c: In function 'cpgconf':
cpgconf.c:6:3: error: too many arguments to function 'pgconf_'; expected 0, have 10
    6 |   pgconf_((float *)a, &idim, &jdim, &i1, &i2, &j1, &j2, &c1, &c2, (float *)tr);
      |   ^~~~~~~ ~~~~~~~~~~
cpgconf.c:2:13: note: declared here
    2 | extern void pgconf_();
      |             ^~~~~~~
cpgconl.c: In function 'cpgconl':
cpgconl.c:8:3: error: too many arguments to function 'pgconl_'; expected 0, have 13
    8 |   pgconl_((float *)a, &idim, &jdim, &i1, &i2, &j1, &j2, &c, (float *)tr, (char *)label, &intval, &minint, len_label);
      |   ^~~~~~~ ~~~~~~~~~~
cpgconl.c:3:13: note: declared here
    3 | extern void pgconl_();
      |             ^~~~~~~
cpgcons.c: In function 'cpgcons':
cpgcons.c:6:3: error: too many arguments to function 'pgcons_'; expected 0, have 10
    6 |   pgcons_((float *)a, &idim, &jdim, &i1, &i2, &j1, &j2, (float *)c, &nc, (float *)tr);
      |   ^~~~~~~ ~~~~~~~~~~
cpgcons.c:2:13: note: declared here
    2 | extern void pgcons_();
      |             ^~~~~~~
cpgcont.c: In function 'cpgcont':
cpgcont.c:6:3: error: too many arguments to function 'pgcont_'; expected 0, have 10
    6 |   pgcont_((float *)a, &idim, &jdim, &i1, &i2, &j1, &j2, (float *)c, &nc, (float *)tr);
      |   ^~~~~~~ ~~~~~~~~~~
cpgcont.c:2:13: note: declared here
    2 | extern void pgcont_();
      |             ^~~~~~~
cpgctab.c: In function 'cpgctab':
cpgctab.c:6:3: error: too many arguments to function 'pgctab_'; expected 0, have 7
    6 |   pgctab_((float *)l, (float *)r, (float *)g, (float *)b, &nc, &contra, &bright);
      |   ^~~~~~~ ~~~~~~~~~~
cpgctab.c:2:13: note: declared here
    2 | extern void pgctab_();
      |             ^~~~~~~
cpgcurs.c: In function 'cpgcurs':
cpgcurs.c:9:13: error: too many arguments to function 'pgcurs_'; expected 0, have 4
    9 |   r_value = pgcurs_(x, y, ch_scalar, len_ch_scalar);
      |             ^~~~~~~ ~
cpgcurs.c:3:12: note: declared here
    3 | extern int pgcurs_();
      |            ^~~~~~~
cpgdraw.c: In function 'cpgdraw':
cpgdraw.c:6:3: error: too many arguments to function 'pgdraw_'; expected 0, have 2
    6 |   pgdraw_(&x, &y);
      |   ^~~~~~~ ~~
cpgdraw.c:2:13: note: declared here
    2 | extern void pgdraw_();
      |             ^~~~~~~
cpgenv.c: In function 'cpgenv':
cpgenv.c:6:3: error: too many arguments to function 'pgenv_'; expected 0, have 6
    6 |   pgenv_(&xmin, &xmax, &ymin, &ymax, &just, &axis);
      |   ^~~~~~ ~~~~~
cpgenv.c:2:13: note: declared here
    2 | extern void pgenv_();
      |             ^~~~~~
cpgerr1.c: In function 'cpgerr1':
cpgerr1.c:6:3: error: too many arguments to function 'pgerr1_'; expected 0, have 5
    6 |   pgerr1_(&dir, &x, &y, &e, &t);
      |   ^~~~~~~ ~~~~
cpgerr1.c:2:13: note: declared here
    2 | extern void pgerr1_();
      |             ^~~~~~~
cpgerrb.c: In function 'cpgerrb':
cpgerrb.c:6:3: error: too many arguments to function 'pgerrb_'; expected 0, have 6
    6 |   pgerrb_(&dir, &n, (float *)x, (float *)y, (float *)e, &t);
      |   ^~~~~~~ ~~~~
cpgerrb.c:2:13: note: declared here
    2 | extern void pgerrb_();
      |             ^~~~~~~
cpgerrx.c: In function 'cpgerrx':
cpgerrx.c:6:3: error: too many arguments to function 'pgerrx_'; expected 0, have 5
    6 |   pgerrx_(&n, (float *)x1, (float *)x2, (float *)y, &t);
      |   ^~~~~~~ ~~
cpgerrx.c:2:13: note: declared here
    2 | extern void pgerrx_();
      |             ^~~~~~~
cpgerry.c: In function 'cpgerry':
cpgerry.c:6:3: error: too many arguments to function 'pgerry_'; expected 0, have 5
    6 |   pgerry_(&n, (float *)x, (float *)y1, (float *)y2, &t);
      |   ^~~~~~~ ~~
cpgerry.c:2:13: note: declared here
    2 | extern void pgerry_();
      |             ^~~~~~~
cpggray.c: In function 'cpggray':
cpggray.c:6:3: error: too many arguments to function 'pggray_'; expected 0, have 10
    6 |   pggray_((float *)a, &idim, &jdim, &i1, &i2, &j1, &j2, &fg, &bg, (float *)tr);
      |   ^~~~~~~ ~~~~~~~~~~
cpggray.c:2:13: note: declared here
    2 | extern void pggray_();
      |             ^~~~~~~
cpghi2d.c: In function 'cpghi2d':
cpghi2d.c:7:3: error: too many arguments to function 'pghi2d_'; expected 0, have 12
    7 |   pghi2d_((float *)data, &nxv, &nyv, &ix1, &ix2, &iy1, &iy2, (float *)x, &ioff, &bias, &l_center, ylims);
      |   ^~~~~~~ ~~~~~~~~~~~~~
cpghi2d.c:2:13: note: declared here
    2 | extern void pghi2d_();
      |             ^~~~~~~
cpghist.c: In function 'cpghist':
cpghist.c:6:3: error: too many arguments to function 'pghist_'; expected 0, have 6
    6 |   pghist_(&n, (float *)data, &datmin, &datmax, &nbin, &pgflag);
      |   ^~~~~~~ ~~
cpghist.c:2:13: note: declared here
    2 | extern void pghist_();
      |             ^~~~~~~
cpgimag.c: In function 'cpgimag':
cpgimag.c:6:3: error: too many arguments to function 'pgimag_'; expected 0, have 10
    6 |   pgimag_((float *)a, &idim, &jdim, &i1, &i2, &j1, &j2, &a1, &a2, (float *)tr);
      |   ^~~~~~~ ~~~~~~~~~~
cpgimag.c:2:13: note: declared here
    2 | extern void pgimag_();
      |             ^~~~~~~
cpglab.c: In function 'cpglab':
cpglab.c:10:3: error: too many arguments to function 'pglab_'; expected 0, have 6
   10 |   pglab_((char *)xlbl, (char *)ylbl, (char *)toplbl, len_xlbl, len_ylbl, len_toplbl);
      |   ^~~~~~ ~~~~~~~~~~~~
cpglab.c:3:13: note: declared here
    3 | extern void pglab_();
      |             ^~~~~~
cpglcur.c: In function 'cpglcur':
cpglcur.c:6:3: error: too many arguments to function 'pglcur_'; expected 0, have 4
    6 |   pglcur_(&maxpt, npt, x, y);
      |   ^~~~~~~ ~~~~~~
cpglcur.c:2:13: note: declared here
    2 | extern void pglcur_();
      |             ^~~~~~~
cpglen.c: In function 'cpglen':
cpglen.c:8:3: error: too many arguments to function 'pglen_'; expected 0, have 5
    8 |   pglen_(&units, (char *)string, xl, yl, len_string);
      |   ^~~~~~ ~~~~~~
cpglen.c:3:13: note: declared here
    3 | extern void pglen_();
      |             ^~~~~~
cpgline.c: In function 'cpgline':
cpgline.c:6:3: error: too many arguments to function 'pgline_'; expected 0, have 3
    6 |   pgline_(&n, (float *)xpts, (float *)ypts);
      |   ^~~~~~~ ~~
cpgline.c:2:13: note: declared here
    2 | extern void pgline_();
      |             ^~~~~~~
cpgmove.c: In function 'cpgmove':
cpgmove.c:6:3: error: too many arguments to function 'pgmove_'; expected 0, have 2
    6 |   pgmove_(&x, &y);
      |   ^~~~~~~ ~~
cpgmove.c:2:13: note: declared here
    2 | extern void pgmove_();
      |             ^~~~~~~
cpgmtxt.c: In function 'cpgmtxt':
cpgmtxt.c:9:3: error: too many arguments to function 'pgmtxt_'; expected 0, have 7
    9 |   pgmtxt_((char *)side, &disp, &coord, &fjust, (char *)text, len_side, len_text);
      |   ^~~~~~~ ~~~~~~~~~~~~
cpgmtxt.c:3:13: note: declared here
    3 | extern void pgmtxt_();
      |             ^~~~~~~
cpgncur.c: In function 'cpgncur':
cpgncur.c:6:3: error: too many arguments to function 'pgncur_'; expected 0, have 5
    6 |   pgncur_(&maxpt, npt, x, y, &symbol);
      |   ^~~~~~~ ~~~~~~
cpgncur.c:2:13: note: declared here
    2 | extern void pgncur_();
      |             ^~~~~~~
cpgnumb.c: In function 'cpgnumb':
cpgnumb.c:8:3: error: too many arguments to function 'pgnumb_'; expected 0, have 6
    8 |   pgnumb_(&mm, &pp, &form, string, string_length, len_string);
      |   ^~~~~~~ ~~~
cpgnumb.c:3:13: note: declared here
    3 | extern void pgnumb_();
      |             ^~~~~~~
cpgolin.c: In function 'cpgolin':
cpgolin.c:6:3: error: too many arguments to function 'pgolin_'; expected 0, have 5
    6 |   pgolin_(&maxpt, npt, x, y, &symbol);
      |   ^~~~~~~ ~~~~~~
cpgolin.c:2:13: note: declared here
    2 | extern void pgolin_();
      |             ^~~~~~~
cpgopen.c: In function 'cpgopen':
cpgopen.c:9:13: error: too many arguments to function 'pgopen_'; expected 0, have 2
    9 |   r_value = pgopen_((char *)device, len_device);
      |             ^~~~~~~ ~~~~~~~~~~~~~~
cpgopen.c:3:12: note: declared here
    3 | extern int pgopen_();
      |            ^~~~~~~
cpgpanl.c: In function 'cpgpanl':
cpgpanl.c:6:3: error: too many arguments to function 'pgpanl_'; expected 0, have 2
    6 |   pgpanl_(&nxc, &nyc);
      |   ^~~~~~~ ~~~~
cpgpanl.c:2:13: note: declared here
    2 | extern void pgpanl_();
      |             ^~~~~~~
cpgpap.c: In function 'cpgpap':
cpgpap.c:6:3: error: too many arguments to function 'pgpap_'; expected 0, have 2
    6 |   pgpap_(&width, &aspect);
      |   ^~~~~~ ~~~~~~
cpgpap.c:2:13: note: declared here
    2 | extern void pgpap_();
      |             ^~~~~~
cpgpixl.c: In function 'cpgpixl':
cpgpixl.c:6:3: error: too many arguments to function 'pgpixl_'; expected 0, have 11
    6 |   pgpixl_((int *)ia, &idim, &jdim, &i1, &i2, &j1, &j2, &x1, &x2, &y1, &y2);
      |   ^~~~~~~ ~~~~~~~~~
cpgpixl.c:2:13: note: declared here
    2 | extern void pgpixl_();
      |             ^~~~~~~
cpgpnts.c: In function 'cpgpnts':
cpgpnts.c:6:3: error: too many arguments to function 'pgpnts_'; expected 0, have 5
    6 |   pgpnts_(&n, (float *)x, (float *)y, (int *)symbol, &ns);
      |   ^~~~~~~ ~~
cpgpnts.c:2:13: note: declared here
    2 | extern void pgpnts_();
      |             ^~~~~~~
cpgpoly.c: In function 'cpgpoly':
cpgpoly.c:6:3: error: too many arguments to function 'pgpoly_'; expected 0, have 3
    6 |   pgpoly_(&n, (float *)xpts, (float *)ypts);
      |   ^~~~~~~ ~~
cpgpoly.c:2:13: note: declared here
    2 | extern void pgpoly_();
      |             ^~~~~~~
cpgpt.c: In function 'cpgpt':
cpgpt.c:6:3: error: too many arguments to function 'pgpt_'; expected 0, have 4
    6 |   pgpt_(&n, (float *)xpts, (float *)ypts, &symbol);
      |   ^~~~~ ~~
cpgpt.c:2:13: note: declared here
    2 | extern void pgpt_();
      |             ^~~~~
cpgpt1.c: In function 'cpgpt1':
cpgpt1.c:6:3: error: too many arguments to function 'pgpt1_'; expected 0, have 3
    6 |   pgpt1_(&xpt, &ypt, &symbol);
      |   ^~~~~~ ~~~~
cpgpt1.c:2:13: note: declared here
    2 | extern void pgpt1_();
      |             ^~~~~~
cpgptxt.c: In function 'cpgptxt':
cpgptxt.c:8:3: error: too many arguments to function 'pgptxt_'; expected 0, have 6
    8 |   pgptxt_(&x, &y, &angle, &fjust, (char *)text, len_text);
      |   ^~~~~~~ ~~
cpgptxt.c:3:13: note: declared here
    3 | extern void pgptxt_();
      |             ^~~~~~~
cpgqah.c: In function 'cpgqah':
cpgqah.c:6:3: error: too many arguments to function 'pgqah_'; expected 0, have 3
    6 |   pgqah_(fs, angle, barb);
      |   ^~~~~~ ~~
cpgqah.c:2:13: note: declared here
    2 | extern void pgqah_();
      |             ^~~~~~
cpgqcf.c: In function 'cpgqcf':
cpgqcf.c:6:3: error: too many arguments to function 'pgqcf_'; expected 0, have 1
    6 |   pgqcf_(font);
      |   ^~~~~~ ~~~~
cpgqcf.c:2:13: note: declared here
    2 | extern void pgqcf_();
      |             ^~~~~~
cpgqch.c: In function 'cpgqch':
cpgqch.c:6:3: error: too many arguments to function 'pgqch_'; expected 0, have 1
    6 |   pgqch_(size);
      |   ^~~~~~ ~~~~
cpgqch.c:2:13: note: declared here
    2 | extern void pgqch_();
      |             ^~~~~~
cpgqci.c: In function 'cpgqci':
cpgqci.c:6:3: error: too many arguments to function 'pgqci_'; expected 0, have 1
    6 |   pgqci_(ci);
      |   ^~~~~~ ~~
cpgqci.c:2:13: note: declared here
    2 | extern void pgqci_();
      |             ^~~~~~
cpgqcir.c: In function 'cpgqcir':
cpgqcir.c:6:3: error: too many arguments to function 'pgqcir_'; expected 0, have 2
    6 |   pgqcir_(icilo, icihi);
      |   ^~~~~~~ ~~~~~
cpgqcir.c:2:13: note: declared here
    2 | extern void pgqcir_();
      |             ^~~~~~~
cpgqclp.c: In function 'cpgqclp':
cpgqclp.c:6:3: error: too many arguments to function 'pgqclp_'; expected 0, have 1
    6 |   pgqclp_(state);
      |   ^~~~~~~ ~~~~~
cpgqclp.c:2:13: note: declared here
    2 | extern void pgqclp_();
      |             ^~~~~~~
cpgqcol.c: In function 'cpgqcol':
cpgqcol.c:6:3: error: too many arguments to function 'pgqcol_'; expected 0, have 2
    6 |   pgqcol_(ci1, ci2);
      |   ^~~~~~~ ~~~
cpgqcol.c:2:13: note: declared here
    2 | extern void pgqcol_();
      |             ^~~~~~~
cpgqcr.c: In function 'cpgqcr':
cpgqcr.c:6:3: error: too many arguments to function 'pgqcr_'; expected 0, have 4
    6 |   pgqcr_(&ci, cr, cg, cb);
      |   ^~~~~~ ~~~
cpgqcr.c:2:13: note: declared here
    2 | extern void pgqcr_();
      |             ^~~~~~
cpgqcs.c: In function 'cpgqcs':
cpgqcs.c:6:3: error: too many arguments to function 'pgqcs_'; expected 0, have 3
    6 |   pgqcs_(&units, xch, ych);
      |   ^~~~~~ ~~~~~~
cpgqcs.c:2:13: note: declared here
    2 | extern void pgqcs_();
      |             ^~~~~~
cpgqdt.c: In function 'cpgqdt':
cpgqdt.c:9:3: error: too many arguments to function 'pgqdt_'; expected 0, have 8
    9 |   pgqdt_(&n, type, type_length, descr, descr_length, inter, len_type, len_descr);
      |   ^~~~~~ ~~
cpgqdt.c:3:13: note: declared here
    3 | extern void pgqdt_();
      |             ^~~~~~
cpgqfs.c: In function 'cpgqfs':
cpgqfs.c:6:3: error: too many arguments to function 'pgqfs_'; expected 0, have 1
    6 |   pgqfs_(fs);
      |   ^~~~~~ ~~
cpgqfs.c:2:13: note: declared here
    2 | extern void pgqfs_();
      |             ^~~~~~
cpgqhs.c: In function 'cpgqhs':
cpgqhs.c:6:3: error: too many arguments to function 'pgqhs_'; expected 0, have 3
    6 |   pgqhs_(angle, sepn, phase);
      |   ^~~~~~ ~~~~~
cpgqhs.c:2:13: note: declared here
    2 | extern void pgqhs_();
      |             ^~~~~~
cpgqid.c: In function 'cpgqid':
cpgqid.c:6:3: error: too many arguments to function 'pgqid_'; expected 0, have 1
    6 |   pgqid_(id);
      |   ^~~~~~ ~~
cpgqid.c:2:13: note: declared here
    2 | extern void pgqid_();
      |             ^~~~~~
cpgqinf.c: In function 'cpgqinf':
cpgqinf.c:9:3: error: too many arguments to function 'pgqinf_'; expected 0, have 5
    9 |   pgqinf_((char *)item, value, value_length, len_item, len_value);
      |   ^~~~~~~ ~~~~~~~~~~~~
cpgqinf.c:3:13: note: declared here
    3 | extern void pgqinf_();
      |             ^~~~~~~
cpgqitf.c: In function 'cpgqitf':
cpgqitf.c:6:3: error: too many arguments to function 'pgqitf_'; expected 0, have 1
    6 |   pgqitf_(itf);
      |   ^~~~~~~ ~~~
cpgqitf.c:2:13: note: declared here
    2 | extern void pgqitf_();
      |             ^~~~~~~
cpgqls.c: In function 'cpgqls':
cpgqls.c:6:3: error: too many arguments to function 'pgqls_'; expected 0, have 1
    6 |   pgqls_(ls);
      |   ^~~~~~ ~~
cpgqls.c:2:13: note: declared here
    2 | extern void pgqls_();
      |             ^~~~~~
cpgqlw.c: In function 'cpgqlw':
cpgqlw.c:6:3: error: too many arguments to function 'pgqlw_'; expected 0, have 1
    6 |   pgqlw_(lw);
      |   ^~~~~~ ~~
cpgqlw.c:2:13: note: declared here
    2 | extern void pgqlw_();
      |             ^~~~~~
cpgqndt.c: In function 'cpgqndt':
cpgqndt.c:6:3: error: too many arguments to function 'pgqndt_'; expected 0, have 1
    6 |   pgqndt_(n);
      |   ^~~~~~~ ~
cpgqndt.c:2:13: note: declared here
    2 | extern void pgqndt_();
      |             ^~~~~~~
cpgqpos.c: In function 'cpgqpos':
cpgqpos.c:6:3: error: too many arguments to function 'pgqpos_'; expected 0, have 2
    6 |   pgqpos_(x, y);
      |   ^~~~~~~ ~
cpgqpos.c:2:13: note: declared here
    2 | extern void pgqpos_();
      |             ^~~~~~~
cpgqtbg.c: In function 'cpgqtbg':
cpgqtbg.c:6:3: error: too many arguments to function 'pgqtbg_'; expected 0, have 1
    6 |   pgqtbg_(tbci);
      |   ^~~~~~~ ~~~~
cpgqtbg.c:2:13: note: declared here
    2 | extern void pgqtbg_();
      |             ^~~~~~~
cpgqtxt.c: In function 'cpgqtxt':
cpgqtxt.c:8:3: error: too many arguments to function 'pgqtxt_'; expected 0, have 8
    8 |   pgqtxt_(&x, &y, &angle, &fjust, (char *)text, xbox, ybox, len_text);
      |   ^~~~~~~ ~~
cpgqtxt.c:3:13: note: declared here
    3 | extern void pgqtxt_();
      |             ^~~~~~~
cpgqvp.c: In function 'cpgqvp':
cpgqvp.c:6:3: error: too many arguments to function 'pgqvp_'; expected 0, have 5
    6 |   pgqvp_(&units, x1, x2, y1, y2);
      |   ^~~~~~ ~~~~~~
cpgqvp.c:2:13: note: declared here
    2 | extern void pgqvp_();
      |             ^~~~~~
cpgqvsz.c: In function 'cpgqvsz':
cpgqvsz.c:6:3: error: too many arguments to function 'pgqvsz_'; expected 0, have 5
    6 |   pgqvsz_(&units, x1, x2, y1, y2);
      |   ^~~~~~~ ~~~~~~
cpgqvsz.c:2:13: note: declared here
    2 | extern void pgqvsz_();
      |             ^~~~~~~
cpgqwin.c: In function 'cpgqwin':
cpgqwin.c:6:3: error: too many arguments to function 'pgqwin_'; expected 0, have 4
    6 |   pgqwin_(x1, x2, y1, y2);
      |   ^~~~~~~ ~~
cpgqwin.c:2:13: note: declared here
    2 | extern void pgqwin_();
      |             ^~~~~~~
cpgrect.c: In function 'cpgrect':
cpgrect.c:6:3: error: too many arguments to function 'pgrect_'; expected 0, have 4
    6 |   pgrect_(&x1, &x2, &y1, &y2);
      |   ^~~~~~~ ~~~
cpgrect.c:2:13: note: declared here
    2 | extern void pgrect_();
      |             ^~~~~~~
cpgrnd.c: In function 'cpgrnd':
cpgrnd.c:7:13: error: too many arguments to function 'pgrnd_'; expected 0, have 2
    7 |   r_value = pgrnd_(&x, nsub);
      |             ^~~~~~ ~~
cpgrnd.c:2:14: note: declared here
    2 | extern float pgrnd_();
      |              ^~~~~~
cpgrnge.c: In function 'cpgrnge':
cpgrnge.c:6:3: error: too many arguments to function 'pgrnge_'; expected 0, have 4
    6 |   pgrnge_(&x1, &x2, xlo, xhi);
      |   ^~~~~~~ ~~~
cpgrnge.c:2:13: note: declared here
    2 | extern void pgrnge_();
      |             ^~~~~~~
cpgsah.c: In function 'cpgsah':
cpgsah.c:6:3: error: too many arguments to function 'pgsah_'; expected 0, have 3
    6 |   pgsah_(&fs, &angle, &barb);
      |   ^~~~~~ ~~~
cpgsah.c:2:13: note: declared here
    2 | extern void pgsah_();
      |             ^~~~~~
cpgscf.c: In function 'cpgscf':
cpgscf.c:6:3: error: too many arguments to function 'pgscf_'; expected 0, have 1
    6 |   pgscf_(&font);
      |   ^~~~~~ ~~~~~
cpgscf.c:2:13: note: declared here
    2 | extern void pgscf_();
      |             ^~~~~~
cpgsch.c: In function 'cpgsch':
cpgsch.c:6:3: error: too many arguments to function 'pgsch_'; expected 0, have 1
    6 |   pgsch_(&size);
      |   ^~~~~~ ~~~~~
cpgsch.c:2:13: note: declared here
    2 | extern void pgsch_();
      |             ^~~~~~
cpgsci.c: In function 'cpgsci':
cpgsci.c:6:3: error: too many arguments to function 'pgsci_'; expected 0, have 1
    6 |   pgsci_(&ci);
      |   ^~~~~~ ~~~
cpgsci.c:2:13: note: declared here
    2 | extern void pgsci_();
      |             ^~~~~~
cpgscir.c: In function 'cpgscir':
cpgscir.c:6:3: error: too many arguments to function 'pgscir_'; expected 0, have 2
    6 |   pgscir_(&icilo, &icihi);
      |   ^~~~~~~ ~~~~~~
cpgscir.c:2:13: note: declared here
    2 | extern void pgscir_();
      |             ^~~~~~~
cpgsclp.c: In function 'cpgsclp':
cpgsclp.c:6:3: error: too many arguments to function 'pgsclp_'; expected 0, have 1
    6 |   pgsclp_(&state);
      |   ^~~~~~~ ~~~~~~
cpgsclp.c:2:13: note: declared here
    2 | extern void pgsclp_();
      |             ^~~~~~~
cpgscr.c: In function 'cpgscr':
cpgscr.c:6:3: error: too many arguments to function 'pgscr_'; expected 0, have 4
    6 |   pgscr_(&ci, &cr, &cg, &cb);
      |   ^~~~~~ ~~~
cpgscr.c:2:13: note: declared here
    2 | extern void pgscr_();
      |             ^~~~~~
cpgscrl.c: In function 'cpgscrl':
cpgscrl.c:6:3: error: too many arguments to function 'pgscrl_'; expected 0, have 2
    6 |   pgscrl_(&dx, &dy);
      |   ^~~~~~~ ~~~
cpgscrl.c:2:13: note: declared here
    2 | extern void pgscrl_();
      |             ^~~~~~~
cpgscrn.c: In function 'cpgscrn':
cpgscrn.c:8:3: error: too many arguments to function 'pgscrn_'; expected 0, have 4
    8 |   pgscrn_(&ci, (char *)name, ier, len_name);
      |   ^~~~~~~ ~~~
cpgscrn.c:3:13: note: declared here
    3 | extern void pgscrn_();
      |             ^~~~~~~
cpgsfs.c: In function 'cpgsfs':
cpgsfs.c:6:3: error: too many arguments to function 'pgsfs_'; expected 0, have 1
    6 |   pgsfs_(&fs);
      |   ^~~~~~ ~~~
cpgsfs.c:2:13: note: declared here
    2 | extern void pgsfs_();
      |             ^~~~~~
cpgshls.c: In function 'cpgshls':
cpgshls.c:6:3: error: too many arguments to function 'pgshls_'; expected 0, have 4
    6 |   pgshls_(&ci, &ch, &cl, &cs);
      |   ^~~~~~~ ~~~
cpgshls.c:2:13: note: declared here
    2 | extern void pgshls_();
      |             ^~~~~~~
cpgshs.c: In function 'cpgshs':
cpgshs.c:6:3: error: too many arguments to function 'pgshs_'; expected 0, have 3
    6 |   pgshs_(&angle, &sepn, &phase);
      |   ^~~~~~ ~~~~~~
cpgshs.c:2:13: note: declared here
    2 | extern void pgshs_();
      |             ^~~~~~
cpgsitf.c: In function 'cpgsitf':
cpgsitf.c:6:3: error: too many arguments to function 'pgsitf_'; expected 0, have 1
    6 |   pgsitf_(&itf);
      |   ^~~~~~~ ~~~~
cpgsitf.c:2:13: note: declared here
    2 | extern void pgsitf_();
      |             ^~~~~~~
cpgslct.c: In function 'cpgslct':
cpgslct.c:6:3: error: too many arguments to function 'pgslct_'; expected 0, have 1
    6 |   pgslct_(&id);
      |   ^~~~~~~ ~~~
cpgslct.c:2:13: note: declared here
    2 | extern void pgslct_();
      |             ^~~~~~~
cpgsls.c: In function 'cpgsls':
cpgsls.c:6:3: error: too many arguments to function 'pgsls_'; expected 0, have 1
    6 |   pgsls_(&ls);
      |   ^~~~~~ ~~~
cpgsls.c:2:13: note: declared here
    2 | extern void pgsls_();
      |             ^~~~~~
cpgslw.c: In function 'cpgslw':
cpgslw.c:6:3: error: too many arguments to function 'pgslw_'; expected 0, have 1
    6 |   pgslw_(&lw);
      |   ^~~~~~ ~~~
cpgslw.c:2:13: note: declared here
    2 | extern void pgslw_();
      |             ^~~~~~
cpgstbg.c: In function 'cpgstbg':
cpgstbg.c:6:3: error: too many arguments to function 'pgstbg_'; expected 0, have 1
    6 |   pgstbg_(&tbci);
      |   ^~~~~~~ ~~~~~
cpgstbg.c:2:13: note: declared here
    2 | extern void pgstbg_();
      |             ^~~~~~~
cpgsubp.c: In function 'cpgsubp':
cpgsubp.c:6:3: error: too many arguments to function 'pgsubp_'; expected 0, have 2
    6 |   pgsubp_(&nxsub, &nysub);
      |   ^~~~~~~ ~~~~~~
cpgsubp.c:2:13: note: declared here
    2 | extern void pgsubp_();
      |             ^~~~~~~
cpgsvp.c: In function 'cpgsvp':
cpgsvp.c:6:3: error: too many arguments to function 'pgsvp_'; expected 0, have 4
    6 |   pgsvp_(&xleft, &xright, &ybot, &ytop);
      |   ^~~~~~ ~~~~~~
cpgsvp.c:2:13: note: declared here
    2 | extern void pgsvp_();
      |             ^~~~~~
cpgswin.c: In function 'cpgswin':
cpgswin.c:6:3: error: too many arguments to function 'pgswin_'; expected 0, have 4
    6 |   pgswin_(&x1, &x2, &y1, &y2);
      |   ^~~~~~~ ~~~
cpgswin.c:2:13: note: declared here
    2 | extern void pgswin_();
      |             ^~~~~~~
cpgtbox.c: In function 'cpgtbox':
cpgtbox.c:9:3: error: too many arguments to function 'pgtbox_'; expected 0, have 8
    9 |   pgtbox_((char *)xopt, &xtick, &nxsub, (char *)yopt, &ytick, &nysub, len_xopt, len_yopt);
      |   ^~~~~~~ ~~~~~~~~~~~~
cpgtbox.c:3:13: note: declared here
    3 | extern void pgtbox_();
      |             ^~~~~~~
cpgtext.c: In function 'cpgtext':
cpgtext.c:8:3: error: too many arguments to function 'pgtext_'; expected 0, have 4
    8 |   pgtext_(&x, &y, (char *)text, len_text);
      |   ^~~~~~~ ~~
cpgtext.c:3:13: note: declared here
    3 | extern void pgtext_();
      |             ^~~~~~~
cpgtick.c: In function 'cpgtick':
cpgtick.c:8:3: error: too many arguments to function 'pgtick_'; expected 0, have 11
    8 |   pgtick_(&x1, &y1, &x2, &y2, &v, &tikl, &tikr, &disp, &orient, (char *)str, len_str);
      |   ^~~~~~~ ~~~
cpgtick.c:3:13: note: declared here
    3 | extern void pgtick_();
      |             ^~~~~~~
cpgvect.c: In function 'cpgvect':
cpgvect.c:6:3: error: too many arguments to function 'pgvect_'; expected 0, have 12
    6 |   pgvect_((float *)a, (float *)b, &idim, &jdim, &i1, &i2, &j1, &j2, &c, &nc, (float *)tr, &blank);
      |   ^~~~~~~ ~~~~~~~~~~
cpgvect.c:2:13: note: declared here
    2 | extern void pgvect_();
      |             ^~~~~~~
cpgvsiz.c: In function 'cpgvsiz':
cpgvsiz.c:6:3: error: too many arguments to function 'pgvsiz_'; expected 0, have 4
    6 |   pgvsiz_(&xleft, &xright, &ybot, &ytop);
      |   ^~~~~~~ ~~~~~~
cpgvsiz.c:2:13: note: declared here
    2 | extern void pgvsiz_();
      |             ^~~~~~~
cpgwedg.c: In function 'cpgwedg':
cpgwedg.c:9:3: error: too many arguments to function 'pgwedg_'; expected 0, have 8
    9 |   pgwedg_((char *)side, &disp, &width, &fg, &bg, (char *)label, len_side, len_label);
      |   ^~~~~~~ ~~~~~~~~~~~~
cpgwedg.c:3:13: note: declared here
    3 | extern void pgwedg_();
      |             ^~~~~~~
cpgwnad.c: In function 'cpgwnad':
cpgwnad.c:6:3: error: too many arguments to function 'pgwnad_'; expected 0, have 4
    6 |   pgwnad_(&x1, &x2, &y1, &y2);
      |   ^~~~~~~ ~~~
cpgwnad.c:2:13: note: declared here
    2 | extern void pgwnad_();
      |             ^~~~~~~
make: *** [makefile:904: libcpgplot.a] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions