Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9179

Warnings on zebra.f and hbook.f (rank-1 and scalar)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 6.14/00
    • Component/s: None
    • Labels:
      None
    • Environment:

      Any

      Description

      We get a whole list of warnings about passing scalars where rank-1 arrays are expected, e.g.

      code
      misc/minicern/src/hbook.f:454:26:

      CALL HRZIN(IHDIV,0,0,KEYS,9999,'SC')
      1
      Warning: Rank mismatch in argument ┬┐lbank┬┐ at (1) (rank-1 and scalar)
      code

      We will suppress them, but according to FORTRAN wizards this code is actually ill-formed. This ticket exists to reference it from the suppression commit, and to leave a trace of the warnings for the future.

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: