In #1263 the compilation fails because of various compiler warnings that are treated as errors.
This PR eliminates (all) warnings when compiling with clang-15 and gcc-11.4.
Two notable changes that could work as standalone PR's:
In packing.inl the pointer to the data of vector types that is passed into memcpy calls is retrieved using the value_ptr() method, which is also semantically more precise.
In type_ptr.inl there was a declaration of value_ptr() for vec<1, T, Q> types missing.
In #1263 the compilation fails because of various compiler warnings that are treated as errors. This PR eliminates (all) warnings when compiling with clang-15 and gcc-11.4.
Two notable changes that could work as standalone PR's:
packing.inl
the pointer to the data of vector types that is passed into memcpy calls is retrieved using thevalue_ptr()
method, which is also semantically more precise.type_ptr.inl
there was a declaration ofvalue_ptr()
forvec<1, T, Q>
types missing.