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
The Android NDK is kind of funky. While it does have std::span, its version header doesn't include the __cpp_lib_span feature test macro and compilation fails to resolve gsl in defining the template in uuid.h.
include/uuid.h:52:17: error: use of undeclared identifier 'gsl'
I think this is all that's needed to fix the issue in uuid.h
#ifndef __cpp_lib_span
#include <gsl/gsl>
#endif
It also looks like even though this cmake option is default OFF, the gsl header is never being included. option(UUID_USING_CXX20_SPAN "Using span from std instead of gsl" OFF)
The text was updated successfully, but these errors were encountered:
The Android NDK is kind of funky. While it does have std::span, its version header doesn't include the
__cpp_lib_span
feature test macro and compilation fails to resolve gsl in defining the template in uuid.h.include/uuid.h:52:17: error: use of undeclared identifier 'gsl'
I think this is all that's needed to fix the issue in uuid.h
It also looks like even though this cmake option is default OFF, the gsl header is never being included.
option(UUID_USING_CXX20_SPAN "Using span from std instead of gsl" OFF)
The text was updated successfully, but these errors were encountered: