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
Unfortunately just removing this line is not enough because macro _Z_POINTER_DEFINE accesses memory_order_relaxed without std prefix and we can't just add std:: to it as this should work with C code too. A bit more clever solution is required.
The text was updated successfully, but these errors were encountered:
It's incorrect to expose "using namespace std" in header here:
https://github.com/eclipse-zenoh/zenoh-pico/blob/master/include/zenoh-pico/collections/pointer.h#L29
This affects compilation of other projects which may purposedly avoid including
std
namepace.See explanation herehttps://stackoverflow.com/questions/5849457/using-namespace-in-c-headers
Unfortunately just removing this line is not enough because macro
_Z_POINTER_DEFINE
accessesmemory_order_relaxed
withoutstd
prefix and we can't just addstd::
to it as this should work with C code too. A bit more clever solution is required.The text was updated successfully, but these errors were encountered: