Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

A warning and an error message .

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
fortran
Domain
build-system

Research direction

Start by reviewing optimi.F around line 7593 and dp1.F around lines 3108-3111, then run the reported make command to reproduce the warning and error. Done means the build completes without the reported type-mismatch warning or unterminated character-constant error.

Written by the indexing model from the issue text.

Description

During making DataPlot today ,
the following warning has been issued :

( 1 )

gfortran -O2 -DLINUX -fdefault-real-8 -fdefault-double-8 -c -o optimi.o optimi.F
optimi.F:9767:72:

  $                  XPLUS ,FVECEV)
                                                                    1

Warning: Type mismatch in argument ‘acpcod’ at (1); passed INTEGER(4) to REAL(8) [-Wargument-mismatch]

I have removed this warning by including 'acpcod" into INTEGER statement of

SUBROUTINE LINE( ...

in line 7593 .

(2)

gfortran -O2 -DLINUX -fdefault-real-8 -fdefault-double-8 -DDDOUBLE -DINTEGER32 -DHAVE_ISNAN -DHAVE_EXECUTE_COMMAND_LINE -DDPLIBDIR='/Packages/Statistics_in_Fortran/github.com_usnistgov_dataplot_PD/2020_04_25/dataplot-master/src/../Installed/lib/dataplot' -c -o dp1.o dp1.F
dp1.F:3111:18:

       UNIXPN=STRZZZ(DPLIBDIR)
              1

Error: Unterminated character constant beginning at (1)
make: [Makefile💯 dp1.o] Error 1 (ignored)

I have corrected that error message by modifying the line 3108 of DP1.F file as follows :

#define STRZZZ(x) 'x'

Then "make" has been completed successfully and it installed the programs into supplied local directory with inner directories resembling root directories for an install .

Thank you very much .

Dominant language
Fortran
Stars
43
Forks
7
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from usnistgov/dataplot

All issues in usnistgov/dataplot

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.