Opened 4 years ago

Closed 4 years ago

#61344 closed defect (duplicate)

pgplot @5.2.2: Error: Type mismatch in argument

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: pgplot

Description

pgplot does not build with the gcc10 variant:

  248 |      :     CALL GRGI03(1, 1, BX, BY, 0, BX, BY, %VAL(PIXMAP))
      |                                                                        1
Error: Type mismatch in argument 'pixmap' at (1); passed INTEGER(8) to INTEGER(1)
/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_graphics_pgplot/pgplot/work/pgplot/drivers/gidriv.f:266:72:

  266 |      :     CALL GRGI01(IX0, IY0, IX1, IY1, IC, BX, BY, %VAL(PIXMAP))
      |                                                                        1
Error: Type mismatch in argument 'pixmap' at (1); passed INTEGER(8) to INTEGER(1)
/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_graphics_pgplot/pgplot/work/pgplot/drivers/gidriv.f:275:72:

  275 |      :     CALL GRGI01(IX0, IY0, IX0, IY0, IC, BX, BY, %VAL(PIXMAP))
      |                                                                        1
Error: Type mismatch in argument 'pixmap' at (1); passed INTEGER(8) to INTEGER(1)
/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_graphics_pgplot/pgplot/work/pgplot/drivers/gidriv.f:288:72:

  288 |      :                  %VAL(WORK))
      |                                                                        1
Error: Type mismatch in argument 'pixmap' at (1); passed INTEGER(8) to INTEGER(1)
/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_graphics_pgplot/pgplot/work/pgplot/drivers/gidriv.f:367:72:

  367 |      :     CALL GRGI03(IX0, IY0, IX1, IY1, IC, BX, BY, %VAL(PIXMAP))
      |                                                                        1
Error: Type mismatch in argument 'pixmap' at (1); passed INTEGER(8) to INTEGER(1)
/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk-new_graphics_pgplot/pgplot/work/pgplot/drivers/gidriv.f:378:72:

  378 |       CALL GRGI04(NBUF, RBUF, BX, BY, %VAL(PIXMAP), MAXIDX)
      |                                                                        1
Error: Type mismatch in argument 'pixmap' at (1); passed INTEGER(8) to INTEGER(1)
make: *** [gidriv.o] Error 1

This is the usual problem we see with fortran software written before gcc10. The compilers 1.0 portgroup's compilers.allow_arguments_mismatch could help.

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

Oops, you already fixed it. Duplicate of #60442.

Note: See TracTickets for help on using tickets.