xtensor-stack / xtl

The x template library
BSD 3-Clause "New" or "Revised" License
207 stars 96 forks source link

'_snprintf' is not a member of 'std' #258

Open tdegeus opened 2 years ago

tdegeus commented 2 years ago

I'm getting

C:/Users/runneradmin/micromamba/envs/myenv/Library/include/xtl/xspan_impl.hpp:483:18: error: '_snprintf' is not a member of 'std'
             std::snprintf(msgbuf, sizeof(msgbuf),
                  ^~~~~~~~

here https://github.com/xtensor-stack/xtensor-python/pull/274

Possible references:

tdegeus commented 2 years ago

In fact I think it is a problem of Python: https://github.com/boostorg/system/issues/32