Openpmd-api: Compile time warnings with 0.13.0-dev

Created on 9 Jan 2020  路  7Comments  路  Source: openPMD/openPMD-api

Compiling a project with openPMDresults in a bunch of compile-warnings, mostly "statement is unreachable". I get those warnings when I compile a new PIConGPU example added in this PIConGPU PR.

Expected behavior
These warnings are probably not relevant and shouldn't appear in the compile log.

Software Environment

  • version of openPMD-api: 0.10.0-dev
  • installed openPMD-api via: from source
  • machine: hemera
  • gcc: 7.3.0
  • cmake: 3.15.2

All related warnings begin, in the atatched log file, with /home/ordyna35/bin/openPMD/include/openPMD.
compileLogOpenPmdWarnings.log

machinsystem warning

All 7 comments

Hi,

Thanks for the report!
Can you please try again with openPMD-api 0.13.0 (update: or even better the current dev) and see if you still get those warnings?

The only warning I am currently aware of is #648 with GCC+NVCC.

Hi :)
I tried compiling with 0.13.0 and the current dev today and I still get the warnings.
The new compile-log( api from the current dev ): compileLogOpenPmdWarnings-new-dev.log

Thanks, there seam to be some unreachable code warnings left that did not pop up in other applications on include. Will update accordingly, thanks! :)

Okay, #659 should address these warnings.
Can you please update your openPMD-api dev branch, build and check if there are any warnings from it left when compiling with PIConGPU?

ping @pordyna: are there any warnings from openPMD-api left for you after the latest updates on dev?

Thanks @ax3l, for fixing it so quickly. The warnings are gone now :smile: :rocket:

Hooray, thank you for testing!
Will put out a new tagged version release soon that you can then rely on.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KseniaBastrakova picture KseniaBastrakova  路  6Comments

KseniaBastrakova picture KseniaBastrakova  路  6Comments

eschnett picture eschnett  路  6Comments

titoiride picture titoiride  路  3Comments

C0nsultant picture C0nsultant  路  5Comments