Temporary header file '/tmp/x_529qOKYw/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/cc++/address.h" #include "/usr/include/cc++/applog.h" #include "/usr/include/cc++/buffer.h" #include "/usr/include/cc++/cmdoptns.h" #include "/usr/include/cc++/common.h" #include "/usr/include/cc++/config.h" #include "/usr/include/cc++/counter.h" #include "/usr/include/cc++/digest.h" #include "/usr/include/cc++/exception.h" #include "/usr/include/cc++/export.h" #include "/usr/include/cc++/file.h" #include "/usr/include/cc++/functions.h" #include "/usr/include/cc++/mime.h" #include "/usr/include/cc++/misc.h" #include "/usr/include/cc++/missing.h" #include "/usr/include/cc++/network.h" #include "/usr/include/cc++/numbers.h" #include "/usr/include/cc++/objcount.h" #include "/usr/include/cc++/object.h" #include "/usr/include/cc++/objlink.h" #include "/usr/include/cc++/objmap.h" #include "/usr/include/cc++/objsync.h" #include "/usr/include/cc++/oststring.h" #include "/usr/include/cc++/persist.h" #include "/usr/include/cc++/pointer.h" #include "/usr/include/cc++/process.h" #include "/usr/include/cc++/serial.h" #include "/usr/include/cc++/slog.h" #include "/usr/include/cc++/socket.h" #include "/usr/include/cc++/socketport.h" #include "/usr/include/cc++/strchar.h" #include "/usr/include/cc++/string.h" #include "/usr/include/cc++/template.h" #include "/usr/include/cc++/thread.h" #include "/usr/include/cc++/tokenizer.h" #include "/usr/include/cc++/unix.h" #include "/usr/include/cc++/url.h" #include "/usr/include/cc++/xml.h" #include "/usr/include/cc++/zstream.h" // add namespaces namespace ost{typedef int tmp_add_type_1;} ost::tmp_add_type_1 tmp_add_func_1(){return 0;}; // add classes _G_fpos64_t* tmp_add_class_0; _G_fpos_t* tmp_add_class_1; _IO_cookie_io_functions_t* tmp_add_class_2; addrinfo* tmp_add_class_3; cmsghdr* tmp_add_class_4; f_owner_ex* tmp_add_class_5; file_handle* tmp_add_class_6; flock64* tmp_add_class_7; gaicb* tmp_add_class_8; group_filter* tmp_add_class_9; group_req* tmp_add_class_10; group_source_req* tmp_add_class_11; gzFile_s* tmp_add_class_12; gz_header_s* tmp_add_class_13; hostent* tmp_add_class_14; in6_addr* tmp_add_class_15; in6_pktinfo* tmp_add_class_16; in_addr* tmp_add_class_17; in_pktinfo* tmp_add_class_18; iovec* tmp_add_class_19; ip* tmp_add_class_20; ip6_mtuinfo* tmp_add_class_21; ip_mreq* tmp_add_class_22; ip_mreq_source* tmp_add_class_23; ip_mreqn* tmp_add_class_24; ip_msfilter* tmp_add_class_25; ip_opts* tmp_add_class_26; ip_timestamp* tmp_add_class_27; iphdr* tmp_add_class_28; ipv6_mreq* tmp_add_class_29; itimerval* tmp_add_class_30; linger* tmp_add_class_31; mmsghdr* tmp_add_class_32; msghdr* tmp_add_class_33; netent* tmp_add_class_34; osockaddr* tmp_add_class_35; pollfd* tmp_add_class_36; protoent* tmp_add_class_37; rpcent* tmp_add_class_38; servent* tmp_add_class_39; sockaddr* tmp_add_class_40; sockaddr_in* tmp_add_class_41; sockaddr_in6* tmp_add_class_42; sockaddr_storage* tmp_add_class_43; sockaddr_un* tmp_add_class_44; statx_timestamp* tmp_add_class_45; timestamp* tmp_add_class_46; ucontext_t* tmp_add_class_47; ucred* tmp_add_class_48; z_stream_s* tmp_add_class_49; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/x_529qOKYw/dump1.h" In file included from /usr/include/cc++/address.h:48, from /tmp/x_529qOKYw/dump1.h:12: /usr/include/cc++/persist.h:269:72: error: ISO C++17 does not allow dynamic exception specifications 269 | Engine(std::iostream& stream, EngineMode mode, bool compress=true) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:290:42: error: ISO C++17 does not allow dynamic exception specifications 290 | void write(const BaseObject &object) THROWS (PersistException) | ^~~~~~ /usr/include/cc++/persist.h:296:42: error: ISO C++17 does not allow dynamic exception specifications 296 | void write(const BaseObject *object) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:301:26: error: ISO C++17 does not allow dynamic exception specifications 301 | void write(int8 i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:302:26: error: ISO C++17 does not allow dynamic exception specifications 302 | void write(uint8 i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:303:26: error: ISO C++17 does not allow dynamic exception specifications 303 | void write(int16 i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:304:26: error: ISO C++17 does not allow dynamic exception specifications 304 | void write(uint16 i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:305:26: error: ISO C++17 does not allow dynamic exception specifications 305 | void write(int32 i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:306:26: error: ISO C++17 does not allow dynamic exception specifications 306 | void write(uint32 i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:308:26: error: ISO C++17 does not allow dynamic exception specifications 308 | void write(int64 i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:309:26: error: ISO C++17 does not allow dynamic exception specifications 309 | void write(uint64 i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:311:26: error: ISO C++17 does not allow dynamic exception specifications 311 | void write(float i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:312:26: error: ISO C++17 does not allow dynamic exception specifications 312 | void write(double i) THROWS (PersistException) { CCXX_ENGINEWRITE_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:315:35: error: ISO C++17 does not allow dynamic exception specifications 315 | void write(const String& str) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:316:40: error: ISO C++17 does not allow dynamic exception specifications 316 | void write(const std::string& str) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:319:60: error: ISO C++17 does not allow dynamic exception specifications 319 | void writeBinary(const uint8* data, const uint32 size) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:327:35: error: ISO C++17 does not allow dynamic exception specifications 327 | void read(BaseObject &object) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:332:36: error: ISO C++17 does not allow dynamic exception specifications 332 | void read(BaseObject *&object) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:337:26: error: ISO C++17 does not allow dynamic exception specifications 337 | void read(int8& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:338:26: error: ISO C++17 does not allow dynamic exception specifications 338 | void read(uint8& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:339:26: error: ISO C++17 does not allow dynamic exception specifications 339 | void read(int16& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:340:26: error: ISO C++17 does not allow dynamic exception specifications 340 | void read(uint16& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:341:26: error: ISO C++17 does not allow dynamic exception specifications 341 | void read(int32& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:342:26: error: ISO C++17 does not allow dynamic exception specifications 342 | void read(uint32& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:344:26: error: ISO C++17 does not allow dynamic exception specifications 344 | void read(int64& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:345:26: error: ISO C++17 does not allow dynamic exception specifications 345 | void read(uint64& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:347:26: error: ISO C++17 does not allow dynamic exception specifications 347 | void read(float& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:348:26: error: ISO C++17 does not allow dynamic exception specifications 348 | void read(double& i) THROWS (PersistException) { CCXX_ENGINEREAD_REF(i); } | ^~~~~~ /usr/include/cc++/persist.h:351:28: error: ISO C++17 does not allow dynamic exception specifications 351 | void read(String& str) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:352:33: error: ISO C++17 does not allow dynamic exception specifications 352 | void read(std::string& str) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:355:47: error: ISO C++17 does not allow dynamic exception specifications 355 | void readBinary(uint8* data, uint32 size) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:362:41: error: ISO C++17 does not allow dynamic exception specifications 362 | void readObject(BaseObject* object) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:367:30: error: ISO C++17 does not allow dynamic exception specifications 367 | const String readClass() THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:405:64: error: ISO C++17 does not allow dynamic exception specifications 405 | __EXPORT Engine& operator >>( Engine& ar, BaseObject &ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:407:65: error: ISO C++17 does not allow dynamic exception specifications 407 | __EXPORT Engine& operator >>( Engine& ar, BaseObject *&ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:409:65: error: ISO C++17 does not allow dynamic exception specifications 409 | __EXPORT Engine& operator <<( Engine& ar, BaseObject const &ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:411:65: error: ISO C++17 does not allow dynamic exception specifications 411 | __EXPORT Engine& operator <<( Engine& ar, BaseObject const *ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:414:53: error: ISO C++17 does not allow dynamic exception specifications 414 | __EXPORT Engine& operator >>( Engine& ar, int8& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:416:53: error: ISO C++17 does not allow dynamic exception specifications 416 | __EXPORT Engine& operator <<( Engine& ar, int8 ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:419:54: error: ISO C++17 does not allow dynamic exception specifications 419 | __EXPORT Engine& operator >>( Engine& ar, uint8& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:421:54: error: ISO C++17 does not allow dynamic exception specifications 421 | __EXPORT Engine& operator <<( Engine& ar, uint8 ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:424:54: error: ISO C++17 does not allow dynamic exception specifications 424 | __EXPORT Engine& operator >>( Engine& ar, int16& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:426:54: error: ISO C++17 does not allow dynamic exception specifications 426 | __EXPORT Engine& operator <<( Engine& ar, int16 ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:429:55: error: ISO C++17 does not allow dynamic exception specifications 429 | __EXPORT Engine& operator >>( Engine& ar, uint16& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:431:55: error: ISO C++17 does not allow dynamic exception specifications 431 | __EXPORT Engine& operator <<( Engine& ar, uint16 ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:434:54: error: ISO C++17 does not allow dynamic exception specifications 434 | __EXPORT Engine& operator >>( Engine& ar, int32& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:436:54: error: ISO C++17 does not allow dynamic exception specifications 436 | __EXPORT Engine& operator <<( Engine& ar, int32 ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:439:55: error: ISO C++17 does not allow dynamic exception specifications 439 | __EXPORT Engine& operator >>( Engine& ar, uint32& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:441:55: error: ISO C++17 does not allow dynamic exception specifications 441 | __EXPORT Engine& operator <<( Engine& ar, uint32 ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:445:54: error: ISO C++17 does not allow dynamic exception specifications 445 | __EXPORT Engine& operator >>( Engine& ar, int64& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:447:54: error: ISO C++17 does not allow dynamic exception specifications 447 | __EXPORT Engine& operator <<( Engine& ar, int64 ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:450:55: error: ISO C++17 does not allow dynamic exception specifications 450 | __EXPORT Engine& operator >>( Engine& ar, uint64& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:452:55: error: ISO C++17 does not allow dynamic exception specifications 452 | __EXPORT Engine& operator <<( Engine& ar, uint64 ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:456:54: error: ISO C++17 does not allow dynamic exception specifications 456 | __EXPORT Engine& operator >>( Engine& ar, float& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:458:54: error: ISO C++17 does not allow dynamic exception specifications 458 | __EXPORT Engine& operator <<( Engine& ar, float ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:461:55: error: ISO C++17 does not allow dynamic exception specifications 461 | __EXPORT Engine& operator >>( Engine& ar, double& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:463:55: error: ISO C++17 does not allow dynamic exception specifications 463 | __EXPORT Engine& operator <<( Engine& ar, double ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:466:55: error: ISO C++17 does not allow dynamic exception specifications 466 | __EXPORT Engine& operator >>( Engine& ar, String& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:468:55: error: ISO C++17 does not allow dynamic exception specifications 468 | __EXPORT Engine& operator <<( Engine& ar, String ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:471:60: error: ISO C++17 does not allow dynamic exception specifications 471 | __EXPORT Engine& operator >>( Engine& ar, std::string& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:473:60: error: ISO C++17 does not allow dynamic exception specifications 473 | __EXPORT Engine& operator <<( Engine& ar, std::string ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:476:53: error: ISO C++17 does not allow dynamic exception specifications 476 | __EXPORT Engine& operator >>( Engine& ar, bool& ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:478:53: error: ISO C++17 does not allow dynamic exception specifications 478 | __EXPORT Engine& operator <<( Engine& ar, bool ob) THROWS (PersistException); | ^~~~~~ /usr/include/cc++/persist.h:490:69: error: ISO C++17 does not allow dynamic exception specifications 490 | Engine& operator <<( Engine& ar, typename std::vector const& ob) THROWS (PersistException) | ^~~~~~ /usr/include/cc++/persist.h:504:63: error: ISO C++17 does not allow dynamic exception specifications 504 | Engine& operator >>( Engine& ar, typename std::vector& ob) THROWS (PersistException) | ^~~~~~ /usr/include/cc++/persist.h:521:68: error: ISO C++17 does not allow dynamic exception specifications 521 | Engine& operator <<( Engine& ar, typename std::deque const& ob) THROWS (PersistException) | ^~~~~~ /usr/include/cc++/persist.h:535:62: error: ISO C++17 does not allow dynamic exception specifications 535 | Engine& operator >>( Engine& ar, typename std::deque& ob) THROWS (PersistException) | ^~~~~~ /usr/include/cc++/persist.h:556:75: error: ISO C++17 does not allow dynamic exception specifications 556 | Engine& operator <<( Engine& ar, typename std::map const & ob) THROWS (PersistException) | ^~~~~~ /usr/include/cc++/persist.h:570:68: error: ISO C++17 does not allow dynamic exception specifications 570 | Engine& operator >>( Engine& ar, typename std::map& ob) THROWS (PersistException) | ^~~~~~ /usr/include/cc++/persist.h:588:54: error: ISO C++17 does not allow dynamic exception specifications 588 | Engine& operator <<( Engine& ar, std::pair &ob) THROWS (PersistException) | ^~~~~~ /usr/include/cc++/persist.h:599:54: error: ISO C++17 does not allow dynamic exception specifications 599 | Engine& operator >>(Engine& ar, std::pair &ob) THROWS (PersistException) | ^~~~~~ In file included from /tmp/x_529qOKYw/dump1.h:18: /usr/include/cc++/counter.h: In member function ‘T& ost::Counter::operator=(T)’: /usr/include/cc++/counter.h:93:10: error: ‘counter’ was not declared in this scope; did you mean ‘Counter’? 93 | {counter = c;}; | ^~~~~~~ | Counter In file included from /tmp/x_529qOKYw/dump1.h:32: /usr/include/cc++/objmap.h: At global scope: /usr/include/cc++/objmap.h:95:25: error: ‘keystring’ has not been declared 95 | static T *getObject(keystring key); | ^~~~~~~~~ /usr/include/cc++/objmap.h:99:33: error: ‘keystring’ was not declared in this scope; did you mean ‘setString’? 99 | class keyMap : public objMap | ^~~~~~~~~ | setString /usr/include/cc++/objmap.h:99:45: error: template argument 2 is invalid 99 | class keyMap : public objMap | ^ /usr/include/cc++/objmap.h:101:21: error: expected ‘)’ before ‘key’ 101 | keyMap(keystring key) : objMap(key) {}; | ~ ^~~~ | ) /usr/include/cc++/objmap.h:103:23: error: ‘keystring’ has not been declared 103 | unsigned keyIndex(keystring k) | ^~~~~~~~~ /usr/include/cc++/objmap.h: In member function ‘unsigned int ost::keyMap::keyIndex(int)’: /usr/include/cc++/objmap.h:106:15: error: invalid type argument of unary ‘*’ (have ‘int’) 106 | while(*k) { | ^~ /usr/include/cc++/objmap.h:107:42: error: invalid type argument of unary ‘*’ (have ‘int’) 107 | idx = (idx << 1) ^ (unsigned)*k; | ^~ /usr/include/cc++/objmap.h: At global scope: /usr/include/cc++/objmap.h:118:37: error: ‘keystring’ does not name a type; did you mean ‘String’? 118 | T *objMap::getObject(const keystring key) | ^~~~~~~~~ | String In file included from /tmp/x_529qOKYw/dump1.h:33: /usr/include/cc++/objsync.h: In member function ‘void ost::objSync::objLock()’: /usr/include/cc++/objsync.h:70:10: error: no match for ‘operator++’ (operand type is ‘ost::Mutex’) 70 | {++objMutex;}; | ^~~~~~~~~~ /usr/include/cc++/objsync.h: In member function ‘void ost::objSync::objUnlock()’: /usr/include/cc++/objsync.h:73:10: error: no match for ‘operator--’ (operand type is ‘ost::Mutex’) 73 | {--objMutex;}; | ^~~~~~~~~~ In file included from /tmp/x_529qOKYw/dump1.h:34: /usr/include/cc++/oststring.h: At global scope: /usr/include/cc++/oststring.h:51:61: error: expected template-name before ‘<’ token 51 | struct cistring_char_traits : public std::string_char_traits | ^ /usr/include/cc++/oststring.h:51:61: error: expected ‘{’ before ‘<’ token /usr/include/cc++/oststring.h:66:14: error: ‘string_char_traits’ in namespace ‘std’ does not name a template type 66 | typedef std::string_char_traits cstring_char_traits; | ^~~~~~~~~~~~~~~~~~ /usr/include/cc++/tokenizer.h:177:34: error: ISO C++17 does not allow dynamic exception specifications 177 | iterator &operator ++ () THROWS (NoSuchElementException); | ^~~~~~ /usr/include/cc++/tokenizer.h:187:37: error: ISO C++17 does not allow dynamic exception specifications 187 | const char* operator * () THROWS (NoSuchElementException); | ^~~~~~