TRIQS/TRIQS — Issue #27: compile warning for hdf5 on gcc 4.6
Author: parcollet
Created: 2012-02-15 16:08:01+00:00
State: open

On Ubuntu 11.10 ;

In file included from /home/parcolle/triqs_source/triqs/arrays/h5/array_stack.hpp:24:0,
from /home/parcolle/triqs_source/pytriqs/Solvers/HybridizationExpansion/C++/MC.cpp:24:
/home/parcolle/triqs_source/triqs/arrays/h5/./common.hpp: In function ‘bool triqs::arrays::h5::exists(FileGroupType, std::string) [with FileGroupType = H5::H5File, std::string = std::basic_string]’:
/home/parcolle/triqs_source/triqs/arrays/h5/array_stack.hpp:69:7: instantiated from ‘triqs::arrays::h5::array_stack::array_stack(FileGroupType, const string&, const triqs::arrays::mini_vector&, size_t) [with FileGroupType = H5::H5File, T = double, long unsigned int dim = 3ul, std::string = std::basic_string, size_t = long unsigned int]’
/home/parcolle/triqs_source/pytriqs/Solvers/HybridizationExpansion/C++/Measures_Legendre_allseries.hpp:60:46: instantiated from here
/home/parcolle/triqs_source/triqs/arrays/h5/./common.hpp:146:125: warning: passing NULL to non-pointer argument 3 of ‘htri_t H5Lexists(hid_t, const char*, hid_t)’ [-Wconversion-null]