Open ax3l opened 5 years ago
The same warnings exist in boost 1.70.0
Hi, does https://github.com/boostorg/mpl/pull/62 fix this?
Hi, does #62 fix this?
Doesn't look like it.
https://cuda.godbolt.org/z/s73P9a553 demonstrates that this warning still occurs with boost-1.81.0
.
Compiling boost MPL with (NVCC 10.1.168 and) GCC 6.4.0 and
-Wall -Wextra
throws the following warnings. Mainly-Wnon-template-friend
andoperatorXY ... declares a non-template function -- add <> to refer to a template instance
Generally, the macros for overloads seem to lack
template <>
and similar annotations:Seen with PIConGPU
0.5.0-dev
as of https://github.com/ComputationalRadiationPhysics/picongpu/commit/1347ebb46d378d93bdf8f9c0ab7ceee0c9a2142a (and way before as well).Small example with NVCC 10.1 that triggers this via the boost property tree: https://cuda.godbolt.org/z/ir3p6i