ENOTSUP macro does not exist on DJGPP CRT
unlvsur unlvsur
unlvsur@live.com
Sat Feb 27 19:22:50 GMT 2021
This is the errno.h on djgpp.
In file included from ../../../../../gcc/libstdc++-v3/src/c++17/cow-fs_ops.cc:26:
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc: In function 'void std::filesystem::copy(const std::filesystem::path&, const std::filesystem::path&, std::filesystem::copy_options, std::error_code&)':
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:363:44: error: 'not_supported' is not a member of 'std::errc'
363 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
In file included from ../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:58:
d:\msys64\home\unlvs\gcc\libstdc++-v3\src\filesystem\ops-common.h: In function 'bool std::filesystem::do_copy_file(const char_type*, const char_type*, std::filesystem::copy_options_existing_file, std::filesystem::__gnu_posix::stat_type*, std::filesystem::__gnu_posix::stat_type*, std::error_code&)':
d:\msys64\home\unlvs\gcc\libstdc++-v3\src\filesystem\ops-common.h:364:46: error: 'not_supported' is not a member of 'std::errc'
364 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
d:\msys64\home\unlvs\gcc\libstdc++-v3\src\filesystem\ops-common.h:372:50: error: 'not_supported' is not a member of 'std::errc'
372 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
d:\msys64\home\unlvs\gcc\libstdc++-v3\src\filesystem\ops-common.h:403:50: error: 'not_supported' is not a member of 'std::errc'
403 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc: In function 'void std::filesystem::copy(const std::filesystem::__cxx11::path&, const std::filesystem::__cxx11::path&, std::filesystem::copy_options, std::error_code&)':
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:363:44: error: 'not_supported' is not a member of 'std::errc'
363 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc: In function 'bool std::filesystem::equivalent(const std::filesystem::path&, const std::filesystem::path&, std::error_code&)':
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:850:48: error: 'not_supported' is not a member of 'std::errc'
850 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc: In function 'uintmax_t std::filesystem::file_size(const std::filesystem::path&, std::error_code&)':
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:964:46: error: 'not_supported' is not a member of 'std::errc'
964 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc: In function 'void std::filesystem::permissions(const std::filesystem::path&, std::filesystem::perms, std::filesystem::perm_options, std::error_code&)':
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:1132:42: error: 'not_supported' is not a member of 'std::errc'
1132 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc: In function 'bool std::filesystem::equivalent(const std::filesystem::__cxx11::path&, const std::filesystem::__cxx11::path&, std::error_code&)':
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:850:48: error: 'not_supported' is not a member of 'std::errc'
850 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc: In function 'uintmax_t std::filesystem::file_size(const std::filesystem::__cxx11::path&, std::error_code&)':
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:964:46: error: 'not_supported' is not a member of 'std::errc'
964 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc: In function 'void std::filesystem::permissions(const std::filesystem::__cxx11::path&, std::filesystem::perms, std::filesystem::perm_options, std::error_code&)':
../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:1132:42: error: 'not_supported' is not a member of 'std::errc'
1132 | ec = std::make_error_code(std::errc::not_supported);
| ^~~~~~~~~~~~~
make[5]: *** [Makefile:577: cow-fs_ops.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [Makefile:577: fs_ops.lo] Error 1
make[4]: *** [Makefile:764: all-recursive] Error 1
make[3]: *** [Makefile:568: all-recursive] Error 1
make[2]: *** [Makefile:493: all] Error 2
make[1]: *** [Makefile:11838: all-target-libstdc++-v3] Error 2
make: *** [Makefile:970: all] Error 2
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: errno.h
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20210227/e69af4a1/attachment.h>
More information about the Libstdc++
mailing list