In file included from /usr/include/asm-generic/errno.h:1:0,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm/errno.h:1,
from /usr/include/linux/errno.h:1,
from /usr/include/bits/errno.h:26,
from /usr/include/errno.h:28,
from /usr/include/c++/7.3.0/cerrno:42,
from /usr/include/c++/7.3.0/ext/string_conversions.h:44,
from /usr/include/c++/7.3.0/bits/basic_string.h:6349,
from /usr/include/c++/7.3.0/string:52,
from /usr/include/c++/7.3.0/bits/locale_classes.h:40,
from /usr/include/c++/7.3.0/bits/ios_base.h:41,
from /usr/include/c++/7.3.0/ios:42,
from /usr/include/c++/7.3.0/ostream:38,
from /usr/include/c++/7.3.0/iostream:39,
from test.cpp:1:
/usr/include/asm-generic/errno.h:1:31: error: #include nested too deeply
#include <asm-generic/errno.h>
^
In file included from /usr/include/c++/7.3.0/bits/basic_string.h:6349:0,
from /usr/include/c++/7.3.0/string:52,
from /usr/include/c++/7.3.0/bits/locale_classes.h:40,
from /usr/include/c++/7.3.0/bits/ios_base.h:41,
from /usr/include/c++/7.3.0/ios:42,
from /usr/include/c++/7.3.0/ostream:38,
from /usr/include/c++/7.3.0/iostream:39,
from test.cpp:1:
/usr/include/c++/7.3.0/ext/string_conversions.h: In function ‘_Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, std::size_t*, _Base ...)’:
/usr/include/c++/7.3.0/ext/string_conversions.h:84:25: error: ‘ERANGE’ was not declared in this scope
else if (errno == ERANGE
^~~~~~
In file included from /usr/include/c++/7.3.0/system_error:39:0,
from /usr/include/c++/7.3.0/bits/ios_base.h:46,
from /usr/include/c++/7.3.0/ios:42,
from /usr/include/c++/7.3.0/ostream:38,
from /usr/include/c++/7.3.0/iostream:39,
from test.cpp:1:
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h: At global scope:
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:42:40: error: ‘EAFNOSUPPORT’ was not declared in this scope
address_family_not_supported = EAFNOSUPPORT,
^~~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:43:28: error: ‘EADDRINUSE’ was not declared in this scope
address_in_use = EADDRINUSE,
^~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:44:34: error: ‘EADDRNOTAVAIL’ was not declared in this scope
address_not_available = EADDRNOTAVAIL,
^~~~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:45:30: error: ‘EISCONN’ was not declared in this scope
already_connected = EISCONN,
^~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:46:35: error: ‘E2BIG’ was not declared in this scope
argument_list_too_long = E2BIG,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:47:35: error: ‘EDOM’ was not declared in this scope
argument_out_of_domain = EDOM,
^~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:47:35: note: suggested alternative: ‘EOF’
argument_out_of_domain = EDOM,
^~~~
EOF
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:48:25: error: ‘EFAULT’ was not declared in this scope
bad_address = EFAULT,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:49:32: error: ‘EBADF’ was not declared in this scope
bad_file_descriptor = EBADF,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:52:25: error: ‘EBADMSG’ was not declared in this scope
bad_message = EBADMSG,
^~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:55:25: error: ‘EPIPE’ was not declared in this scope
broken_pipe = EPIPE,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:56:31: error: ‘ECONNABORTED’ was not declared in this scope
connection_aborted = ECONNABORTED,
^~~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:57:42: error: ‘EALREADY’ was not declared in this scope
connection_already_in_progress = EALREADY,
^~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:58:31: error: ‘ECONNREFUSED’ was not declared in this scope
connection_refused = ECONNREFUSED,
^~~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:58:31: note: suggested alternative: ‘ECANCELED’
connection_refused = ECONNREFUSED,
^~~~~~~~~~~~
ECANCELED
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:59:29: error: ‘ECONNRESET’ was not declared in this scope
connection_reset = ECONNRESET,
^~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:59:29: note: suggested alternative: ‘ECANCELED’
connection_reset = ECONNRESET,
^~~~~~~~~~
ECANCELED
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:60:30: error: ‘EXDEV’ was not declared in this scope
cross_device_link = EXDEV,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:61:40: error: ‘EDESTADDRREQ’ was not declared in this scope
destination_address_required = EDESTADDRREQ,
^~~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:62:35: error: ‘EBUSY’ was not declared in this scope
device_or_resource_busy = EBUSY,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:63:32: error: ‘ENOTEMPTY’ was not declared in this scope
directory_not_empty = ENOTEMPTY,
^~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:63:32: note: suggested alternative: ‘ENOTSUP’
directory_not_empty = ENOTEMPTY,
^~~~~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:64:35: error: ‘ENOEXEC’ was not declared in this scope
executable_format_error = ENOEXEC,
^~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:65:32: error: ‘EEXIST’ was not declared in this scope
file_exists = EEXIST,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:66:28: error: ‘EFBIG’ was not declared in this scope
file_too_large = EFBIG,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:67:30: error: ‘ENAMETOOLONG’ was not declared in this scope
filename_too_long = ENAMETOOLONG,
^~~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:68:35: error: ‘ENOSYS’ was not declared in this scope
function_not_supported = ENOSYS,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:68:35: note: suggested alternative: ‘ENOTSUP’
function_not_supported = ENOSYS,
^~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:69:29: error: ‘EHOSTUNREACH’ was not declared in this scope
host_unreachable = EHOSTUNREACH,
^~~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:72:31: error: ‘EIDRM’ was not declared in this scope
identifier_removed = EIDRM,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:75:34: error: ‘EILSEQ’ was not declared in this scope
illegal_byte_sequence = EILSEQ,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:75:34: note: suggested alternative: ‘FILE’
illegal_byte_sequence = EILSEQ,
^~~~~~
FILE
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:76:45: error: ‘ENOTTY’ was not declared in this scope
inappropriate_io_control_operation = ENOTTY,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:76:45: note: suggested alternative: ‘ENOTSUP’
inappropriate_io_control_operation = ENOTTY,
^~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:77:25: error: ‘EINTR’ was not declared in this scope
interrupted = EINTR,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:78:29: error: ‘EINVAL’ was not declared in this scope
invalid_argument = EINVAL,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:79:26: error: ‘ESPIPE’ was not declared in this scope
invalid_seek = ESPIPE,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:80:22: error: ‘EIO’ was not declared in this scope
io_error = EIO,
^~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:81:28: error: ‘EISDIR’ was not declared in this scope
is_a_directory = EISDIR,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:82:26: error: ‘EMSGSIZE’ was not declared in this scope
message_size = EMSGSIZE,
^~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:82:26: note: suggested alternative: ‘_T_SIZE’
message_size = EMSGSIZE,
^~~~~~~~
_T_SIZE
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:83:26: error: ‘ENETDOWN’ was not declared in this scope
network_down = ENETDOWN,
^~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:84:27: error: ‘ENETRESET’ was not declared in this scope
network_reset = ENETRESET,
^~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:85:32: error: ‘ENETUNREACH’ was not declared in this scope
network_unreachable = ENETUNREACH,
^~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:86:28: error: ‘ENOBUFS’ was not declared in this scope
no_buffer_space = ENOBUFS,
^~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:87:29: error: ‘ECHILD’ was not declared in this scope
no_child_process = ECHILD,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:90:21: error: ‘ENOLINK’ was not declared in this scope
no_link = ENOLINK,
^~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:93:30: error: ‘ENOLCK’ was not declared in this scope
no_lock_available = ENOLCK,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:96:33: error: ‘ENODATA’ was not declared in this scope
no_message_available = ENODATA,
^~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:99:24: error: ‘ENOMSG’ was not declared in this scope
no_message = ENOMSG,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:99:24: note: suggested alternative: ‘ENOTSUP’
no_message = ENOMSG,
^~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:100:31: error: ‘ENOPROTOOPT’ was not declared in this scope
no_protocol_option = ENOPROTOOPT,
^~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:101:31: error: ‘ENOSPC’ was not declared in this scope
no_space_on_device = ENOSPC,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:101:31: note: suggested alternative: ‘ENOTSUP’
no_space_on_device = ENOSPC,
^~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:104:32: error: ‘ENOSR’ was not declared in this scope
no_stream_resources = ENOSR,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:107:37: error: ‘ENXIO’ was not declared in this scope
no_such_device_or_address = ENXIO,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:108:28: error: ‘ENODEV’ was not declared in this scope
no_such_device = ENODEV,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:109:37: error: ‘ENOENT’ was not declared in this scope
no_such_file_or_directory = ENOENT,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:110:28: error: ‘ESRCH’ was not declared in this scope
no_such_process = ESRCH,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:111:28: error: ‘ENOTDIR’ was not declared in this scope
not_a_directory = ENOTDIR,
^~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:111:28: note: suggested alternative: ‘ENOTSUP’
not_a_directory = ENOTDIR,
^~~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:112:26: error: ‘ENOTSOCK’ was not declared in this scope
not_a_socket = ENOTSOCK,
^~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:112:26: note: suggested alternative: ‘ENOTSUP’
not_a_socket = ENOTSOCK,
^~~~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:115:26: error: ‘ENOSTR’ was not declared in this scope
not_a_stream = ENOSTR,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:115:26: note: suggested alternative: ‘ENOTSUP’
not_a_stream = ENOSTR,
^~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:118:27: error: ‘ENOTCONN’ was not declared in this scope
not_connected = ENOTCONN,
^~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:118:27: note: suggested alternative: ‘ENOTSUP’
not_connected = ENOTCONN,
^~~~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:119:30: error: ‘ENOMEM’ was not declared in this scope
not_enough_memory = ENOMEM,
^~~~~~
In file included from /usr/include/errno.h:28:0,
from /usr/include/c++/7.3.0/cerrno:42,
from /usr/include/c++/7.3.0/ext/string_conversions.h:44,
from /usr/include/c++/7.3.0/bits/basic_string.h:6349,
from /usr/include/c++/7.3.0/string:52,
from /usr/include/c++/7.3.0/bits/locale_classes.h:40,
from /usr/include/c++/7.3.0/bits/ios_base.h:41,
from /usr/include/c++/7.3.0/ios:42,
from /usr/include/c++/7.3.0/ostream:38,
from /usr/include/c++/7.3.0/iostream:39,
from test.cpp:1:
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:122:27: error: ‘EOPNOTSUPP’ was not declared in this scope
not_supported = ENOTSUP,
^
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:122:27: note: suggested alternative: ‘ENOTSUP’
In file included from /usr/include/c++/7.3.0/system_error:39:0,
from /usr/include/c++/7.3.0/bits/ios_base.h:46,
from /usr/include/c++/7.3.0/ios:42,
from /usr/include/c++/7.3.0/ostream:38,
from /usr/include/c++/7.3.0/iostream:39,
from test.cpp:1:
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:129:34: error: ‘EINPROGRESS’ was not declared in this scope
operation_in_progress = EINPROGRESS,
^~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:130:35: error: ‘EPERM’ was not declared in this scope
operation_not_permitted = EPERM,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:131:35: error: ‘EOPNOTSUPP’ was not declared in this scope
operation_not_supported = EOPNOTSUPP,
^~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:131:35: note: suggested alternative: ‘ENOTSUP’
operation_not_supported = EOPNOTSUPP,
^~~~~~~~~~
ENOTSUP
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:132:34: error: ‘EWOULDBLOCK’ was not declared in this scope
operation_would_block = EWOULDBLOCK,
^~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:138:30: error: ‘EACCES’ was not declared in this scope
permission_denied = EACCES,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:141:28: error: ‘EPROTO’ was not declared in this scope
protocol_error = EPROTO,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:144:35: error: ‘EPROTONOSUPPORT’ was not declared in this scope
protocol_not_supported = EPROTONOSUPPORT,
^~~~~~~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:145:34: error: ‘EROFS’ was not declared in this scope
read_only_file_system = EROFS,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:145:34: note: suggested alternative: ‘EOF’
read_only_file_system = EROFS,
^~~~~
EOF
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:146:41: error: ‘EDEADLK’ was not declared in this scope
resource_deadlock_would_occur = EDEADLK,
^~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:147:42: error: ‘EAGAIN’ was not declared in this scope
resource_unavailable_try_again = EAGAIN,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:148:32: error: ‘ERANGE’ was not declared in this scope
result_out_of_range = ERANGE,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:155:28: error: ‘ETIME’ was not declared in this scope
stream_timeout = ETIME,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:159:28: error: ‘ETXTBSY’ was not declared in this scope
text_file_busy = ETXTBSY,
^~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:162:23: error: ‘ETIMEDOUT’ was not declared in this scope
timed_out = ETIMEDOUT,
^~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:162:23: note: suggested alternative: ‘TIME_UTC’
timed_out = ETIMEDOUT,
^~~~~~~~~
TIME_UTC
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:163:41: error: ‘ENFILE’ was not declared in this scope
too_many_files_open_in_system = ENFILE,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:163:41: note: suggested alternative: ‘FILE’
too_many_files_open_in_system = ENFILE,
^~~~~~
FILE
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:164:32: error: ‘EMFILE’ was not declared in this scope
too_many_files_open = EMFILE,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:164:32: note: suggested alternative: ‘FILE’
too_many_files_open = EMFILE,
^~~~~~
FILE
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:165:28: error: ‘EMLINK’ was not declared in this scope
too_many_links = EMLINK,
^~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:166:41: error: ‘ELOOP’ was not declared in this scope
too_many_symbolic_link_levels = ELOOP,
^~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:169:28: error: ‘EOVERFLOW’ was not declared in this scope
value_too_large = EOVERFLOW,
^~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:172:32: error: ‘EPROTOTYPE’ was not declared in this scope
wrong_protocol_type = EPROTOTYPE
^~~~~~~~~~
/usr/include/c++/7.3.0/x86_64-solus-linux/bits/error_constants.h:172:32: note: suggested alternative: ‘__NO_CTYPE’
wrong_protocol_type = EPROTOTYPE
^~~~~~~~~~
__NO_CTYPE

(Results from clang are very nigh-identical except for formatting, so I left them out)

Trying to diagnose the problem, I ran
eopkg check -c system.devel
which showed every package as OK except for linux headers, which were broken:

uname -r
showed
4.17.6-82.current
so I installed linux-current-headers, but that didn't do anything, either.

Uninstalling this package and reinstalling it didn't seem to do anything, so that leads me to believe the issue is at the source. Why would these specific files be corrupt, and how can this be rectified? I looked into the current linux asm-generic folder on github and compared a few to those on my machine, but the code was different enough that I figured these particular headers are Solus (or at least platform) specific. What am I missing? Are the two header packages stepping on each other's toes?

If any more info is needed, I'd be happy to help you help me! Thanks in advance!

Last edited by teriyakitoast on Sat Aug 11, 2018 5:05 pm, edited 1 time in total.

Uninstalling this package and reinstalling it didn't seem to do anything, so that leads me to believe the issue is at the source. Why would these specific files be corrupt, and how can this be rectified? I looked into the current linux asm-generic folder on github and compared a few to those on my machine, but the code was different enough that I figured these particular headers are Solus (or at least platform) specific. What am I missing? Are the two header packages stepping on each other's toes?

If any more info is needed, I'd be happy to help you help me! Thanks in advance!

I assure you that Solus doesn't change these headers. The reason they are reporting broken is explicitly because they are different than what's in the Solus package. To reinstall you don't have to remove it. Run these commands back to back (without trying to compile).

Solved the header issue, at long last. Replying just in case some other person has been looking for an answer to no avail. Long story short, turns out my asm error header was trying to include itself rather than include a file with error codes.

It was kind of a shot in the dark, but looking at the asm-generic/errno.h file that seemed to be the problem child, it seemed fishy that the only line in it was self-referential:

In that same directory is a file named errno-base.h which contains all of the error codes (and then some) which my c++ compiler error said it was supposedly missing.
In the directory /usr/include/asm I copy/pasted the contents of this file (obviously just the preprocessor directives, not the webpage markup )http://www-numi.fnal.gov/offline_softwa ... rrors.html
(which seem to be the same as the contents of /usr/include/asm-generic/errno-base.h, I'm giving both in case someone needs one as a fallback)
into usr/include/asm/errno-base.h and edited usr/include/asm/errno.h in the /usr/include/asm directory to point to the base, rather than itself.