ComputationalRadiationPhysics / libSplash

libSplash - Simple Parallel file output Library for Accumulating Simulation data using Hdf5
GNU Lesser General Public License v3.0
15 stars 15 forks source link

Warning in H5IdWrapper #265

Closed ax3l closed 6 years ago

ax3l commented 7 years ago

The current (pre 1.7.0-dev) causes the following warning with GCC 4.9.2 in PIConGPU:

include/splash/core/H5IdWrapper.hpp(39): warning: variable "copyNotAllowed" was set but never used
Flamefire commented 7 years ago

Strange. This line (https://github.com/ComputationalRadiationPhysics/libSplash/pull/248/files#diff-76c3ec9bcec7a4eb129e6c36f5699bdaR40) should avoid this. Don't know how else to do it. Maybe simply make it inherit from the policy and make the copy CTor private

ax3l commented 7 years ago

I know and that usually works... could be ineffective do to its static-ness.