* ENOTSUP macro does not exist on DJGPP CRT
@ 2021-02-27 19:22 unlvsur unlvsur
2021-03-01 16:53 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: unlvsur unlvsur @ 2021-02-27 19:22 UTC (permalink / raw)
To: unlvsur unlvsur via Libstdc++
[-- Attachment #1: Type: text/plain, Size: 5343 bytes --]
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
[-- Attachment #2: errno.h --]
[-- Type: text/plain, Size: 2208 bytes --]
/* Copyright (C) 2015 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 2012 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 2003 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#ifndef __dj_include_errno_h_
#define __dj_include_errno_h_
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __dj_ENFORCE_ANSI_FREESTANDING
#define EDOM 1
#define ERANGE 2
extern int errno;
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
|| !defined(__STRICT_ANSI__) || defined(__cplusplus)
#define EILSEQ 41
#endif /* (__STDC_VERSION__ >= 199901L) || !__STRICT_ANSI__ */
#if !defined(__STRICT_ANSI__) || (defined(__cplusplus) && ( \
(__GNUC__ == 4 && (__GNUC_MINOR__ > 2 && __GNUC_MINOR < 7) && \
defined(__GXX_EXPERIMENTAL_CXX0X__)) || (__cplusplus >= 201103L)))
#define E2BIG 3
#define EACCES 4
#define EAGAIN 5
#define EBADF 6
#define EBUSY 7
#define ECHILD 8
#define EDEADLK 9
#define EEXIST 10
#define EFAULT 11
#define EFBIG 12
#define EINTR 13
#define EINVAL 14
#define EIO 15
#define EISDIR 16
#define EMFILE 17
#define EMLINK 18
#define ENAMETOOLONG 19
#define ENFILE 20
#define ENODEV 21
#define ENOENT 22
#define ENOEXEC 23
#define ENOLCK 24
#define ENOMEM 25
#define ENOSPC 26
#define ENOSYS 27
#define ENOTDIR 28
#define ENOTEMPTY 29
#define ENOTTY 30
#define ENXIO 31
#define EPERM 32
#define EPIPE 33
#define EROFS 34
#define ESPIPE 35
#define ESRCH 36
#define EXDEV 37
#ifndef _POSIX_SOURCE
#define ENMFILE 38
#define ELOOP 39
#define EOVERFLOW 40
#define EILSEQ 41
extern char * sys_errlist[];
extern int sys_nerr;
extern const char * __sys_errlist[];
extern int __sys_nerr;
extern int _doserrno;
#endif /* !_POSIX_SOURCE */
#endif /* !__STRICT_ANSI__ || ... */
#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
#ifndef __dj_ENFORCE_FUNCTION_CALLS
#endif /* !__dj_ENFORCE_FUNCTION_CALLS */
#ifdef __cplusplus
}
#endif
#endif /* !__dj_include_errno_h_ */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ENOTSUP macro does not exist on DJGPP CRT
2021-02-27 19:22 ENOTSUP macro does not exist on DJGPP CRT unlvsur unlvsur
@ 2021-03-01 16:53 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2021-03-01 16:53 UTC (permalink / raw)
To: unlvsur unlvsur; +Cc: unlvsur unlvsur via Libstdc++
On Sat, 27 Feb 2021 at 19:49, unlvsur unlvsur via Libstdc++
<libstdc++@gcc.gnu.org> wrote:
>
> 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);
> | ^~~~~~~~~~~~~
Please report it to bugzilla.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-01 16:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-27 19:22 ENOTSUP macro does not exist on DJGPP CRT unlvsur unlvsur
2021-03-01 16:53 ` Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).