Skip to content

4.10.0 fails to build with NVHPC compiler #476

@cponder

Description

@cponder

I ran into this error in the build:

#66 167.1 [ 4%] Building Fortran object src/funit/core/CMakeFiles/funit-core.dir/TestSuite.F90.o
#66 167.4 NVFORTRAN-S-0155-Empty generic procedure - at$tbpg (/usr/local/src/pFUnit-4.10.0/src/funit/core/TestSuite.F90: 90)
#66 167.4 0 inform, 0 warnings, 1 severes, 0 fatal for counttestcases
#66 167.7 make[2]: *** [src/funit/core/CMakeFiles/funit-core.dir/build.make:634: src/funit/core/CMakeFiles/funit-core.dir/TestSuite.F90.o] Error 2
#66 167.7 make[1]: *** [CMakeFiles/Makefile2:524: src/funit/core/CMakeFiles/funit-core.dir/all] Error 2
#66 167.7 make: *** [Makefile:166: all] Error 2

It doesn't happen with 4.9.0.
Obvious possibilities are that (1) this is a violation of the Fortran standard, or (2) a bug in the compiler, can you confirm?

Also, is this just a failure to build the unit-tests, with the library being built OK?
If so, is there a workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions