Update comments

This commit is contained in:
Patrick Pelissier committed 2022-04-18 11:09:12 +02:00
1 parent 2f92cee416
commit 6ee82e885b
1 file changed
+2
+2
View File
@@ -2452,6 +2452,8 @@ namespace m_lib {
However, address sanitizer doesn't see this particular corner case, However, address sanitizer doesn't see this particular corner case,
and raise an error. and raise an error.
So let's disable this implementation if address sanitizer is enabled. So let's disable this implementation if address sanitizer is enabled.
Encapsulating the array in a struct will generate an additionnal memcpy
to recopy the buffer from the stack to the stack (!)
*/ */
#define M_CSTR(...) \ #define M_CSTR(...) \
M_ATTR_EXTENSION ({char m_core_tmp[M_USE_CSTR_ALLOC]; \ M_ATTR_EXTENSION ({char m_core_tmp[M_USE_CSTR_ALLOC]; \