You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under certain conditions, when copying a 1-dimensional c_vector, for example when resizing or filling a std::vector, GCC emits a warning to do with __builtin_memcpy; specifically [-Werror=array-bounds=].
This appears to only be a problem under the following circumstances:
Full interactive example: https://gcc.godbolt.org/z/xe4xh7Wcn
Under certain conditions, when copying a 1-dimensional
c_vector
, for example when resizing or filling astd::vector
, GCC emits a warning to do with__builtin_memcpy
; specifically[-Werror=array-bounds=]
.This appears to only be a problem under the following circumstances:
Full code to reproduce:
The warning:
Is this likely a problem with ublas? With GCC? Something it's safe for me to ignore? Thank you.
The text was updated successfully, but these errors were encountered: