Closed stripe2933 closed 7 months ago
Currently argparse cannot be built using ARGPARSE_MODULE_ENABLE_STD_MODULE macro, because there are two problems.
ARGPARSE_MODULE_ENABLE_STD_MODULE
argparse.hpp
<cerrno>
errno
argparse.cppm
<cstdlib>
std.compat
This PR's commits include these fixes.
Currently argparse cannot be built using
ARGPARSE_MODULE_ENABLE_STD_MODULE
macro, because there are two problems.argparse.hpp
, the header<cerrno>
should be outside the macro if statement becauseerrno
macro variable cannot be exported via C++ module.argparse.cppm
, to use<cstdlib>
features,std.compat
module should also be imported.This PR's commits include these fixes.