hpx icon indicating copy to clipboard operation
hpx copied to clipboard

Compiler / linker warnings when building HPX 1.11.0-rc1

Open kordejong opened this issue 6 months ago • 4 comments

I am testing the build of the Conda packages of the upcoming version of HPX. All packages build fine, which is great. I collected the compiler and linker warnings which you may want to check. Most of them are easy to fix it seems.

kordejong avatar Jun 10 '25 07:06 kordejong

warnings.txt

Details can be found here: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=1265045&view=results

kordejong avatar Jun 10 '25 07:06 kordejong

Thanks @kordejong. I'm not sure how to fix the linker warnings that refer to the weak symbols, but I will fix the others.

hkaiser avatar Jun 10 '25 13:06 hkaiser

@kordejong could you please try adding -DHPX_WITH_HIDDEN_VISIBILITY=On to your HPX cmake invocation to see if that fixes the linker warnings related to weak symbols?

hkaiser avatar Jun 10 '25 13:06 hkaiser

@kordejong could you please try adding -DHPX_WITH_HIDDEN_VISIBILITY=On to your HPX cmake invocation to see if that fixes the linker warnings related to weak symbols?

I tried it and the warning does not disappear, unfortunately, and I run into issue #6653 again.

BTW, the linker warning is not a new thing. It is also in the logs of builds of previous HPX versions. Not sure if it is very important to fix now.

kordejong avatar Jun 10 '25 14:06 kordejong