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
All related warnings begin, in the atatched log file, with /home/ordyna35/bin/openPMD/include/openPMD.
compileLogOpenPmdWarnings.log
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.