You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've managed to make the image on an SD-card, too bad that the image doesn't boot. (Its stuck on startup)
I've managed to install (a part of) the atomik controller myself on a fresh install on a raspbian buster OS.
I've made it possible to make the frontend work (Nginx, mariadb10 and phpMyAdmin for database changes). I can actually login and change some settings on the webinterface.
Next thing, I want to run the cpp code, (transceiver, emulator, ...) problem is: pi@raspberrypi:~/Atomik_Controller $ sudo ./transceiver -t 3 -d ./transceiver: error while loading shared libraries: libjsoncpp.so.0: cannot open shared object file: No such file or directory error is what I receive,
I've manged to install the sudo apt-get install libjsoncpp-dev
library but it still gives me this error.
So I thought, I will compile a new version of the Transceiver, but to bad now it gives me this error: sudo g++ -std=c++11 -lrf24-bcm -lcurl -pthread -ljsoncpp -L/usr/lib -lmysqlcppconn -I/usr/include/cppconn atomik_transceiver/PL1167_nRF24.cpp atomik_transceiver/MiLightRadio.cpp atomik_transceiver/transceiver.cpp atomik_cypher/atomikCypher.cpp -o transceiver In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:317:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^ /usr/include/c++/8/limits:321:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^ /usr/include/c++/8/limits:388:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return false; } ^ /usr/include/c++/8/limits:391:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return true; } ^ /usr/include/c++/8/limits:395:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:457:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); } ^ /usr/include/c++/8/limits:460:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); } ^ /usr/include/c++/8/limits:464:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:524:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; } ^ /usr/include/c++/8/limits:527:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; } ^ /usr/include/c++/8/limits:531:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:594:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:597:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; } ^ /usr/include/c++/8/limits:601:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:667:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); } ^ /usr/include/c++/8/limits:670:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); } ^ /usr/include/c++/8/limits:674:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:736:11: error: macro "min" requires 2 arguments, but only 1 given min() noexcept { return __glibcxx_min (char16_t); } ^ /usr/include/c++/8/limits:739:11: error: macro "max" requires 2 arguments, but only 1 given max() noexcept { return __glibcxx_max (char16_t); } ^ /usr/include/c++/8/limits:742:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:797:11: error: macro "min" requires 2 arguments, but only 1 given min() noexcept { return __glibcxx_min (char32_t); } ^ /usr/include/c++/8/limits:800:11: error: macro "max" requires 2 arguments, but only 1 given max() noexcept { return __glibcxx_max (char32_t); } ^ /usr/include/c++/8/limits:803:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:859:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; } ^ /usr/include/c++/8/limits:862:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; } ^ /usr/include/c++/8/limits:866:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:926:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:929:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; } ^ /usr/include/c++/8/limits:933:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:999:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; } ^ /usr/include/c++/8/limits:1002:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; } ^ /usr/include/c++/8/limits:1006:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1066:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:1069:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; } ^ /usr/include/c++/8/limits:1073:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1138:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; } ^ /usr/include/c++/8/limits:1141:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; } ^ /usr/include/c++/8/limits:1145:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1205:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:1208:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; } ^ /usr/include/c++/8/limits:1212:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1278:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; } ^ /usr/include/c++/8/limits:1281:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; } ^ /usr/include/c++/8/limits:1285:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1348:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:1351:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; } ^ /usr/include/c++/8/limits:1355:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1599:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^ /usr/include/c++/8/limits:1602:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; } ^ /usr/include/c++/8/limits:1674:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; } ^ /usr/include/c++/8/limits:1677:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; } ^ /usr/include/c++/8/limits:1749:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; } ^ /usr/include/c++/8/limits:1752:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; } ^ In file included from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/chrono:282:6: error: macro "max" requires 2 arguments, but only 1 given max() noexcept ^ /usr/include/c++/8/chrono:283:37: error: macro "max" requires 2 arguments, but only 1 given { return numeric_limits<_Rep>::max(); } ^ /usr/include/c++/8/chrono:286:6: error: macro "min" requires 2 arguments, but only 1 given min() noexcept ^ /usr/include/c++/8/chrono:437:6: error: macro "min" requires 2 arguments, but only 1 given min() noexcept ^ /usr/include/c++/8/chrono:438:46: error: macro "min" requires 2 arguments, but only 1 given { return duration(duration_values<rep>::min()); } ^ /usr/include/c++/8/chrono:441:6: error: macro "max" requires 2 arguments, but only 1 given max() noexcept ^ /usr/include/c++/8/chrono:442:46: error: macro "max" requires 2 arguments, but only 1 given { return duration(duration_values<rep>::max()); } ^ /usr/include/c++/8/chrono:659:6: error: macro "min" requires 2 arguments, but only 1 given min() noexcept ^ /usr/include/c++/8/chrono:660:36: error: macro "min" requires 2 arguments, but only 1 given { return time_point(duration::min()); } ^ /usr/include/c++/8/chrono:663:6: error: macro "max" requires 2 arguments, but only 1 given max() noexcept ^ /usr/include/c++/8/chrono:664:36: error: macro "max" requires 2 arguments, but only 1 given { return time_point(duration::max()); } ^ /usr/include/c++/8/chrono:825:49: error: macro "min" requires 2 arguments, but only 1 given static_assert(system_clock::duration::min() ^ In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:375:41: error: macro "max" passed 3 arguments, but takes just 2 max(const _Tp&, const _Tp&, _Compare); ^ /usr/include/c++/8/bits/algorithmfwd.h:388:41: error: macro "min" passed 3 arguments, but takes just 2 min(const _Tp&, const _Tp&, _Compare); ^ /usr/include/c++/8/bits/algorithmfwd.h:416:30: error: macro "min" requires 2 arguments, but only 1 given min(initializer_list<_Tp>); ^ /usr/include/c++/8/bits/algorithmfwd.h:426:30: error: macro "max" requires 2 arguments, but only 1 given max(initializer_list<_Tp>); ^ In file included from /usr/include/c++/8/bits/stl_algo.h:66, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/uniform_int_dist.h:73:56: error: macro "max" requires 2 arguments, but only 1 given _IntType __b = std::numeric_limits<_IntType>::max()) ^ /usr/include/c++/8/bits/uniform_int_dist.h:106:57: error: macro "max" requires 2 arguments, but only 1 given _IntType __b = std::numeric_limits<_IntType>::max()) ^ /usr/include/c++/8/bits/uniform_int_dist.h:150:11: error: macro "min" requires 2 arguments, but only 1 given min() const ^ /usr/include/c++/8/bits/uniform_int_dist.h:157:11: error: macro "max" requires 2 arguments, but only 1 given max() const ^ /usr/include/c++/8/bits/uniform_int_dist.h:228:40: error: macro "min" requires 2 arguments, but only 1 given const __uctype __urngmin = __urng.min(); ^ /usr/include/c++/8/bits/uniform_int_dist.h:229:40: error: macro "max" requires 2 arguments, but only 1 given const __uctype __urngmax = __urng.max(); ^ /usr/include/c++/8/bits/uniform_int_dist.h:297:40: error: macro "min" requires 2 arguments, but only 1 given const __uctype __urngmin = __urng.min(); ^ /usr/include/c++/8/bits/uniform_int_dist.h:298:40: error: macro "max" requires 2 arguments, but only 1 given const __uctype __urngmax = __urng.max(); ^ In file included from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/stl_algo.h:3450:34: error: macro "min" requires 2 arguments, but only 1 given min(initializer_list<_Tp> __l) ^ /usr/include/c++/8/bits/stl_algo.h:3462:34: error: macro "max" requires 2 arguments, but only 1 given max(initializer_list<_Tp> __l) ^ /usr/include/c++/8/bits/stl_algo.h:3815:45: error: macro "max" requires 2 arguments, but only 1 given const __uc_type __urngrange = __g.max() - __g.min(); ^ /usr/include/c++/8/bits/stl_algo.h:3815:57: error: macro "min" requires 2 arguments, but only 1 given const __uc_type __urngrange = __g.max() - __g.min(); ^ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:317:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~ /usr/include/c++/8/limits:317:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:317:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:321:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~ /usr/include/c++/8/limits:321:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:321:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:388:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~ /usr/include/c++/8/limits:388:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:388:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:391:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return true; } ^~~ /usr/include/c++/8/limits:391:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return true; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:391:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return true; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:457:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); } ^~~ /usr/include/c++/8/limits:457:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:457:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:460:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); } ^~~ /usr/include/c++/8/limits:460:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:460:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:524:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:524:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:524:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:527:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; } ^~~ /usr/include/c++/8/limits:527:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:527:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:594:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:594:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:594:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:597:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; } ^~~ /usr/include/c++/8/limits:597:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:597:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:667:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); } ^~~ /usr/include/c++/8/limits:667:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:667:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:670:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); } ^~~ /usr/include/c++/8/limits:670:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:670:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:736:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept { return __glibcxx_min (char16_t); } ^~~ /usr/include/c++/8/limits:736:7: error: expected ‘;’ at end of member declaration min() noexcept { return __glibcxx_min (char16_t); } ^~~ ; /usr/include/c++/8/limits:736:13: error: expected unqualified-id before ‘noexcept’ min() noexcept { return __glibcxx_min (char16_t); } ^~~~~~~~ /usr/include/c++/8/limits:739:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept { return __glibcxx_max (char16_t); } ^~~ /usr/include/c++/8/limits:739:7: error: expected ‘;’ at end of member declaration max() noexcept { return __glibcxx_max (char16_t); } ^~~ ; /usr/include/c++/8/limits:739:13: error: expected unqualified-id before ‘noexcept’ max() noexcept { return __glibcxx_max (char16_t); } ^~~~~~~~ /usr/include/c++/8/limits:797:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept { return __glibcxx_min (char32_t); } ^~~ /usr/include/c++/8/limits:797:7: error: expected ‘;’ at end of member declaration min() noexcept { return __glibcxx_min (char32_t); } ^~~ ; /usr/include/c++/8/limits:797:13: error: expected unqualified-id before ‘noexcept’ min() noexcept { return __glibcxx_min (char32_t); } ^~~~~~~~ /usr/include/c++/8/limits:800:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept { return __glibcxx_max (char32_t); } ^~~ /usr/include/c++/8/limits:800:7: error: expected ‘;’ at end of member declaration max() noexcept { return __glibcxx_max (char32_t); } ^~~ ; /usr/include/c++/8/limits:800:13: error: expected unqualified-id before ‘noexcept’ max() noexcept { return __glibcxx_max (char32_t); } ^~~~~~~~ /usr/include/c++/8/limits:859:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:859:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:859:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:862:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; } ^~~ /usr/include/c++/8/limits:862:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:862:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:926:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:926:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:926:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:929:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; } ^~~ /usr/include/c++/8/limits:929:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:929:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:999:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:999:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:999:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1002:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; } ^~~ /usr/include/c++/8/limits:1002:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1002:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1066:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:1066:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1066:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1069:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; } ^~~ /usr/include/c++/8/limits:1069:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1069:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1138:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:1138:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1138:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1141:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; } ^~~ /usr/include/c++/8/limits:1141:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1141:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1205:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:1205:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1205:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1208:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; } ^~~ /usr/include/c++/8/limits:1208:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1208:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1278:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:1278:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1278:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1281:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; } ^~~ /usr/include/c++/8/limits:1281:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1281:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1348:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:1348:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1348:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1351:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; } ^~~ /usr/include/c++/8/limits:1351:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1351:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1599:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~ /usr/include/c++/8/limits:1599:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1599:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1602:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; } ^~~ /usr/include/c++/8/limits:1602:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1602:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1674:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; } ^~~ /usr/include/c++/8/limits:1674:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1674:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1677:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; } ^~~ /usr/include/c++/8/limits:1677:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1677:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1749:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; } ^~~ /usr/include/c++/8/limits:1749:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1749:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1752:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; } ^~~ /usr/include/c++/8/limits:1752:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1752:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/chrono:282:2: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept ^~~ /usr/include/c++/8/chrono:282:2: error: expected ‘;’ at end of member declaration max() noexcept ^~~ ; /usr/include/c++/8/chrono:282:8: error: expected unqualified-id before ‘noexcept’ max() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:286:2: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept ^~~ /usr/include/c++/8/chrono:286:2: error: expected ‘;’ at end of member declaration min() noexcept ^~~ ; /usr/include/c++/8/chrono:286:8: error: expected unqualified-id before ‘noexcept’ min() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:437:2: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept ^~~ /usr/include/c++/8/chrono:437:2: error: expected ‘;’ at end of member declaration min() noexcept ^~~ ; /usr/include/c++/8/chrono:437:8: error: expected unqualified-id before ‘noexcept’ min() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:441:2: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept ^~~ /usr/include/c++/8/chrono:441:2: error: expected ‘;’ at end of member declaration max() noexcept ^~~ ; /usr/include/c++/8/chrono:441:8: error: expected unqualified-id before ‘noexcept’ max() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:659:2: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept ^~~ /usr/include/c++/8/chrono:659:2: error: expected ‘;’ at end of member declaration min() noexcept ^~~ ; /usr/include/c++/8/chrono:659:8: error: expected unqualified-id before ‘noexcept’ min() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:663:2: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept ^~~ /usr/include/c++/8/chrono:663:2: error: expected ‘;’ at end of member declaration max() noexcept ^~~ ; /usr/include/c++/8/chrono:663:8: error: expected unqualified-id before ‘noexcept’ max() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:826:7: error: non-constant condition for static assertion static_assert(system_clock::duration::min() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < system_clock::duration::zero(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/chrono:826:7: in ‘constexpr’ expansion of ‘std::chrono::operator< <long long int, std::ratio<1, 1000000000>, long long int, std::ratio<1, 1000000000> >(std::chrono::duration<long long int, std::ratio<1, 1000000000> >::min, std::chrono::duration<long long int, std::ratio<1, 1000000000> >::zero())’ /usr/include/c++/8/chrono:826:7: error: the value of ‘std::chrono::duration<long long int, std::ratio<1, 1000000000> >::min’ is not usable in a constant expression /usr/include/c++/8/chrono:437:2: note: ‘std::chrono::duration<long long int, std::ratio<1, 1000000000> >::min’ was not declared ‘constexpr’ min() noexcept ^~~ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/stl_vector.h: In member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::_M_check_len(std::vector<_Tp, _Alloc>::size_type, const char*) const’: /usr/include/c++/8/bits/stl_vector.h:1645:40: error: expected unqualified-id before ‘(’ token const size_type __len = size() + std::max(size(), __n); ^~~ /usr/include/c++/8/bits/stl_bvector.h: In member function ‘std::vector<bool, _Alloc>::size_type std::vector<bool, _Alloc>::_M_check_len(std::vector<bool, _Alloc>::size_type, const char*) const’: /usr/include/c++/8/bits/stl_bvector.h:1296:40: error: expected unqualified-id before ‘(’ token const size_type __len = size() + std::max(size(), __n); ^~~ /usr/include/c++/8/bits/algorithmfwd.h: At global scope: /usr/include/c++/8/bits/algorithmfwd.h:370:5: error: expected unqualified-id before ‘const’ max(const _Tp&, const _Tp&); ^~~ /usr/include/c++/8/bits/algorithmfwd.h:370:5: error: expected ‘)’ before ‘const’ /usr/include/c++/8/bits/algorithmfwd.h:370:5: note: to match this ‘(’ max(const _Tp&, const _Tp&); ^~~ In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:375:5: error: ‘template<class _Tp, class _Compare> const _Tp& std::max’ conflicts with a previous declaration max(const _Tp&, const _Tp&, _Compare); ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:265:5: note: previous declaration ‘namespace std { }::max’ max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/algorithmfwd.h:383:5: error: expected unqualified-id before ‘const’ min(const _Tp&, const _Tp&); ^~~ /usr/include/c++/8/bits/algorithmfwd.h:383:5: error: expected ‘)’ before ‘const’ /usr/include/c++/8/bits/algorithmfwd.h:383:5: note: to match this ‘(’ min(const _Tp&, const _Tp&); ^~~ In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:388:5: error: ‘template<class _Tp, class _Compare> const _Tp& std::min’ conflicts with a previous declaration min(const _Tp&, const _Tp&, _Compare); ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:243:5: note: previous declaration ‘namespace std { }::min’ min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:416:5: error: ‘template<class _Tp> _Tp std::min’ conflicts with a previous declaration min(initializer_list<_Tp>); ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:243:5: note: previous declaration ‘namespace std { }::min’ min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/algorithmfwd.h:421:5: error: invalid declarator before ‘<’ token min(initializer_list<_Tp>, _Compare); ^~~ /usr/include/c++/8/bits/algorithmfwd.h:421:5: error: expected ‘)’ before ‘<’ token In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:426:5: error: ‘template<class _Tp> _Tp std::max’ conflicts with a previous declaration max(initializer_list<_Tp>); ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:265:5: note: previous declaration ‘namespace std { }::max’ max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/algorithmfwd.h:431:5: error: invalid declarator before ‘>’ token max(initializer_list<_Tp>, _Compare); ^~~ /usr/include/c++/8/bits/algorithmfwd.h:431:5: error: expected ‘)’ before ‘>’ token In file included from /usr/include/c++/8/bits/stl_algo.h:66, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/uniform_int_dist.h:150:7: error: expected ‘;’ at end of member declaration min() const ^~~ ; /usr/include/c++/8/bits/uniform_int_dist.h:151:7: error: expected unqualified-id before ‘{’ token { return this->a(); } ^ /usr/include/c++/8/bits/uniform_int_dist.h:157:7: error: expected ‘;’ at end of member declaration max() const ^~~ ; /usr/include/c++/8/bits/uniform_int_dist.h:158:7: error: expected unqualified-id before ‘{’ token { return this->b(); } ^ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)’: /usr/include/c++/8/bits/stl_algo.h:2680:26: error: expected unqualified-id before ‘(’ token __step_size = std::min(_Distance(__last - __first), __step_size); ^~~ In file included from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/stl_algo.h: At global scope: /usr/include/c++/8/bits/stl_algo.h:3450:5: error: ‘template<class _Tp> _Tp std::min’ conflicts with a previous declaration min(initializer_list<_Tp> __l) ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:243:5: note: previous declaration ‘namespace std { }::min’ min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/stl_algo.h:3451:7: error: expected primary-expression before ‘return’ { return *std::min_element(__l.begin(), __l.end()); } ^~~~~~ /usr/include/c++/8/bits/stl_algo.h:3451:7: error: expected ‘}’ before ‘return’ /usr/include/c++/8/bits/stl_algo.h:3451:6: error: expected ‘;’ before ‘return’ { return *std::min_element(__l.begin(), __l.end()); } ^~~~~~~ ; In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/stl_algo.h:3456:5: error: expected ‘)’ before ‘<’ token min(initializer_list<_Tp> __l, _Compare __comp) ^~~ /usr/include/c++/8/bits/stl_algo.h:3456:5: note: to match this ‘(’ min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/stl_algo.h:3463:7: error: expected primary-expression before ‘return’ { return *std::max_element(__l.begin(), __l.end()); } ^~~~~~ /usr/include/c++/8/bits/stl_algo.h:3463:7: error: expected ‘}’ before ‘return’ /usr/include/c++/8/bits/stl_algo.h:3463:6: error: expected ‘;’ before ‘return’ { return *std::max_element(__l.begin(), __l.end()); } ^~~~~~~ ; /usr/include/c++/8/bits/stl_algo.h:3463:57: error: expected declaration before ‘}’ token { return *std::max_element(__l.begin(), __l.end()); }
Does anybody have some advice/pointers on where/ what I did wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
Good day everyone.
I've managed to make the image on an SD-card, too bad that the image doesn't boot. (Its stuck on startup)
I've managed to install (a part of) the atomik controller myself on a fresh install on a raspbian buster OS.
I've made it possible to make the frontend work (Nginx, mariadb10 and phpMyAdmin for database changes). I can actually login and change some settings on the webinterface.
Next thing, I want to run the cpp code, (transceiver, emulator, ...) problem is:
pi@raspberrypi:~/Atomik_Controller $ sudo ./transceiver -t 3 -d ./transceiver: error while loading shared libraries: libjsoncpp.so.0: cannot open shared object file: No such file or directory
error is what I receive,I've manged to install the
sudo apt-get install libjsoncpp-dev
library but it still gives me this error.
So I thought, I will compile a new version of the Transceiver, but to bad now it gives me this error:
sudo g++ -std=c++11 -lrf24-bcm -lcurl -pthread -ljsoncpp -L/usr/lib -lmysqlcppconn -I/usr/include/cppconn atomik_transceiver/PL1167_nRF24.cpp atomik_transceiver/MiLightRadio.cpp atomik_transceiver/transceiver.cpp atomik_cypher/atomikCypher.cpp -o transceiver In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:317:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^ /usr/include/c++/8/limits:321:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^ /usr/include/c++/8/limits:388:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return false; } ^ /usr/include/c++/8/limits:391:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return true; } ^ /usr/include/c++/8/limits:395:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:457:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); } ^ /usr/include/c++/8/limits:460:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); } ^ /usr/include/c++/8/limits:464:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:524:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; } ^ /usr/include/c++/8/limits:527:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; } ^ /usr/include/c++/8/limits:531:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:594:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:597:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; } ^ /usr/include/c++/8/limits:601:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:667:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); } ^ /usr/include/c++/8/limits:670:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); } ^ /usr/include/c++/8/limits:674:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:736:11: error: macro "min" requires 2 arguments, but only 1 given min() noexcept { return __glibcxx_min (char16_t); } ^ /usr/include/c++/8/limits:739:11: error: macro "max" requires 2 arguments, but only 1 given max() noexcept { return __glibcxx_max (char16_t); } ^ /usr/include/c++/8/limits:742:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:797:11: error: macro "min" requires 2 arguments, but only 1 given min() noexcept { return __glibcxx_min (char32_t); } ^ /usr/include/c++/8/limits:800:11: error: macro "max" requires 2 arguments, but only 1 given max() noexcept { return __glibcxx_max (char32_t); } ^ /usr/include/c++/8/limits:803:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:859:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; } ^ /usr/include/c++/8/limits:862:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; } ^ /usr/include/c++/8/limits:866:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:926:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:929:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; } ^ /usr/include/c++/8/limits:933:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:999:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; } ^ /usr/include/c++/8/limits:1002:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; } ^ /usr/include/c++/8/limits:1006:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1066:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:1069:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; } ^ /usr/include/c++/8/limits:1073:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1138:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; } ^ /usr/include/c++/8/limits:1141:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; } ^ /usr/include/c++/8/limits:1145:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1205:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:1208:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; } ^ /usr/include/c++/8/limits:1212:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1278:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; } ^ /usr/include/c++/8/limits:1281:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; } ^ /usr/include/c++/8/limits:1285:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1348:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^ /usr/include/c++/8/limits:1351:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; } ^ /usr/include/c++/8/limits:1355:38: error: macro "min" requires 2 arguments, but only 1 given lowest() noexcept { return min(); } ^ /usr/include/c++/8/limits:1599:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^ /usr/include/c++/8/limits:1602:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; } ^ /usr/include/c++/8/limits:1674:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; } ^ /usr/include/c++/8/limits:1677:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; } ^ /usr/include/c++/8/limits:1749:11: error: macro "min" requires 2 arguments, but only 1 given min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; } ^ /usr/include/c++/8/limits:1752:11: error: macro "max" requires 2 arguments, but only 1 given max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; } ^ In file included from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/chrono:282:6: error: macro "max" requires 2 arguments, but only 1 given max() noexcept ^ /usr/include/c++/8/chrono:283:37: error: macro "max" requires 2 arguments, but only 1 given { return numeric_limits<_Rep>::max(); } ^ /usr/include/c++/8/chrono:286:6: error: macro "min" requires 2 arguments, but only 1 given min() noexcept ^ /usr/include/c++/8/chrono:437:6: error: macro "min" requires 2 arguments, but only 1 given min() noexcept ^ /usr/include/c++/8/chrono:438:46: error: macro "min" requires 2 arguments, but only 1 given { return duration(duration_values<rep>::min()); } ^ /usr/include/c++/8/chrono:441:6: error: macro "max" requires 2 arguments, but only 1 given max() noexcept ^ /usr/include/c++/8/chrono:442:46: error: macro "max" requires 2 arguments, but only 1 given { return duration(duration_values<rep>::max()); } ^ /usr/include/c++/8/chrono:659:6: error: macro "min" requires 2 arguments, but only 1 given min() noexcept ^ /usr/include/c++/8/chrono:660:36: error: macro "min" requires 2 arguments, but only 1 given { return time_point(duration::min()); } ^ /usr/include/c++/8/chrono:663:6: error: macro "max" requires 2 arguments, but only 1 given max() noexcept ^ /usr/include/c++/8/chrono:664:36: error: macro "max" requires 2 arguments, but only 1 given { return time_point(duration::max()); } ^ /usr/include/c++/8/chrono:825:49: error: macro "min" requires 2 arguments, but only 1 given static_assert(system_clock::duration::min() ^ In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:375:41: error: macro "max" passed 3 arguments, but takes just 2 max(const _Tp&, const _Tp&, _Compare); ^ /usr/include/c++/8/bits/algorithmfwd.h:388:41: error: macro "min" passed 3 arguments, but takes just 2 min(const _Tp&, const _Tp&, _Compare); ^ /usr/include/c++/8/bits/algorithmfwd.h:416:30: error: macro "min" requires 2 arguments, but only 1 given min(initializer_list<_Tp>); ^ /usr/include/c++/8/bits/algorithmfwd.h:426:30: error: macro "max" requires 2 arguments, but only 1 given max(initializer_list<_Tp>); ^ In file included from /usr/include/c++/8/bits/stl_algo.h:66, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/uniform_int_dist.h:73:56: error: macro "max" requires 2 arguments, but only 1 given _IntType __b = std::numeric_limits<_IntType>::max()) ^ /usr/include/c++/8/bits/uniform_int_dist.h:106:57: error: macro "max" requires 2 arguments, but only 1 given _IntType __b = std::numeric_limits<_IntType>::max()) ^ /usr/include/c++/8/bits/uniform_int_dist.h:150:11: error: macro "min" requires 2 arguments, but only 1 given min() const ^ /usr/include/c++/8/bits/uniform_int_dist.h:157:11: error: macro "max" requires 2 arguments, but only 1 given max() const ^ /usr/include/c++/8/bits/uniform_int_dist.h:228:40: error: macro "min" requires 2 arguments, but only 1 given const __uctype __urngmin = __urng.min(); ^ /usr/include/c++/8/bits/uniform_int_dist.h:229:40: error: macro "max" requires 2 arguments, but only 1 given const __uctype __urngmax = __urng.max(); ^ /usr/include/c++/8/bits/uniform_int_dist.h:297:40: error: macro "min" requires 2 arguments, but only 1 given const __uctype __urngmin = __urng.min(); ^ /usr/include/c++/8/bits/uniform_int_dist.h:298:40: error: macro "max" requires 2 arguments, but only 1 given const __uctype __urngmax = __urng.max(); ^ In file included from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/stl_algo.h:3450:34: error: macro "min" requires 2 arguments, but only 1 given min(initializer_list<_Tp> __l) ^ /usr/include/c++/8/bits/stl_algo.h:3462:34: error: macro "max" requires 2 arguments, but only 1 given max(initializer_list<_Tp> __l) ^ /usr/include/c++/8/bits/stl_algo.h:3815:45: error: macro "max" requires 2 arguments, but only 1 given const __uc_type __urngrange = __g.max() - __g.min(); ^ /usr/include/c++/8/bits/stl_algo.h:3815:57: error: macro "min" requires 2 arguments, but only 1 given const __uc_type __urngrange = __g.max() - __g.min(); ^ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:317:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~ /usr/include/c++/8/limits:317:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:317:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:321:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~ /usr/include/c++/8/limits:321:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:321:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return _Tp(); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:388:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~ /usr/include/c++/8/limits:388:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:388:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return false; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:391:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return true; } ^~~ /usr/include/c++/8/limits:391:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return true; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:391:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return true; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:457:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); } ^~~ /usr/include/c++/8/limits:457:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:457:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min(char); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:460:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); } ^~~ /usr/include/c++/8/limits:460:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:460:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max(char); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:524:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:524:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:524:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__SCHAR_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:527:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; } ^~~ /usr/include/c++/8/limits:527:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:527:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:594:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:594:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:594:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:597:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; } ^~~ /usr/include/c++/8/limits:597:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:597:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __SCHAR_MAX__ * 2U + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:667:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); } ^~~ /usr/include/c++/8/limits:667:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:667:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (wchar_t); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:670:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); } ^~~ /usr/include/c++/8/limits:670:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:670:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (wchar_t); } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:736:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept { return __glibcxx_min (char16_t); } ^~~ /usr/include/c++/8/limits:736:7: error: expected ‘;’ at end of member declaration min() noexcept { return __glibcxx_min (char16_t); } ^~~ ; /usr/include/c++/8/limits:736:13: error: expected unqualified-id before ‘noexcept’ min() noexcept { return __glibcxx_min (char16_t); } ^~~~~~~~ /usr/include/c++/8/limits:739:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept { return __glibcxx_max (char16_t); } ^~~ /usr/include/c++/8/limits:739:7: error: expected ‘;’ at end of member declaration max() noexcept { return __glibcxx_max (char16_t); } ^~~ ; /usr/include/c++/8/limits:739:13: error: expected unqualified-id before ‘noexcept’ max() noexcept { return __glibcxx_max (char16_t); } ^~~~~~~~ /usr/include/c++/8/limits:797:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept { return __glibcxx_min (char32_t); } ^~~ /usr/include/c++/8/limits:797:7: error: expected ‘;’ at end of member declaration min() noexcept { return __glibcxx_min (char32_t); } ^~~ ; /usr/include/c++/8/limits:797:13: error: expected unqualified-id before ‘noexcept’ min() noexcept { return __glibcxx_min (char32_t); } ^~~~~~~~ /usr/include/c++/8/limits:800:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept { return __glibcxx_max (char32_t); } ^~~ /usr/include/c++/8/limits:800:7: error: expected ‘;’ at end of member declaration max() noexcept { return __glibcxx_max (char32_t); } ^~~ ; /usr/include/c++/8/limits:800:13: error: expected unqualified-id before ‘noexcept’ max() noexcept { return __glibcxx_max (char32_t); } ^~~~~~~~ /usr/include/c++/8/limits:859:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:859:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:859:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__SHRT_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:862:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; } ^~~ /usr/include/c++/8/limits:862:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:862:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:926:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:926:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:926:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:929:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; } ^~~ /usr/include/c++/8/limits:929:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:929:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __SHRT_MAX__ * 2U + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:999:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:999:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:999:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__INT_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1002:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; } ^~~ /usr/include/c++/8/limits:1002:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1002:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1066:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:1066:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1066:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1069:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; } ^~~ /usr/include/c++/8/limits:1069:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1069:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __INT_MAX__ * 2U + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1138:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:1138:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1138:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1141:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; } ^~~ /usr/include/c++/8/limits:1141:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1141:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1205:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:1205:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1205:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1208:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; } ^~~ /usr/include/c++/8/limits:1208:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1208:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LONG_MAX__ * 2UL + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1278:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; } ^~~ /usr/include/c++/8/limits:1278:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1278:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return -__LONG_LONG_MAX__ - 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1281:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; } ^~~ /usr/include/c++/8/limits:1281:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1281:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1348:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ /usr/include/c++/8/limits:1348:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1348:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return 0; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1351:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; } ^~~ /usr/include/c++/8/limits:1351:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1351:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LONG_LONG_MAX__ * 2ULL + 1; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1599:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~ /usr/include/c++/8/limits:1599:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1599:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1602:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; } ^~~ /usr/include/c++/8/limits:1602:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1602:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1674:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; } ^~~ /usr/include/c++/8/limits:1674:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1674:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __DBL_MIN__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1677:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; } ^~~ /usr/include/c++/8/limits:1677:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1677:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __DBL_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1749:7: error: ‘constexpr’ static data member ‘min’ must have an initializer min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; } ^~~ /usr/include/c++/8/limits:1749:7: error: expected ‘;’ at end of member declaration min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1749:13: error: expected unqualified-id before ‘noexcept’ min() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MIN__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/limits:1752:7: error: ‘constexpr’ static data member ‘max’ must have an initializer max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; } ^~~ /usr/include/c++/8/limits:1752:7: error: expected ‘;’ at end of member declaration max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; } ^~~ ; In file included from /usr/include/c++/8/cstdlib:41, from atomik_transceiver/transceiver.cpp:8: /usr/include/c++/8/limits:1752:13: error: expected unqualified-id before ‘noexcept’ max() _GLIBCXX_USE_NOEXCEPT { return __LDBL_MAX__; } ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/thread:38, from atomik_transceiver/transceiver.cpp:20: /usr/include/c++/8/chrono:282:2: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept ^~~ /usr/include/c++/8/chrono:282:2: error: expected ‘;’ at end of member declaration max() noexcept ^~~ ; /usr/include/c++/8/chrono:282:8: error: expected unqualified-id before ‘noexcept’ max() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:286:2: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept ^~~ /usr/include/c++/8/chrono:286:2: error: expected ‘;’ at end of member declaration min() noexcept ^~~ ; /usr/include/c++/8/chrono:286:8: error: expected unqualified-id before ‘noexcept’ min() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:437:2: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept ^~~ /usr/include/c++/8/chrono:437:2: error: expected ‘;’ at end of member declaration min() noexcept ^~~ ; /usr/include/c++/8/chrono:437:8: error: expected unqualified-id before ‘noexcept’ min() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:441:2: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept ^~~ /usr/include/c++/8/chrono:441:2: error: expected ‘;’ at end of member declaration max() noexcept ^~~ ; /usr/include/c++/8/chrono:441:8: error: expected unqualified-id before ‘noexcept’ max() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:659:2: error: ‘constexpr’ static data member ‘min’ must have an initializer min() noexcept ^~~ /usr/include/c++/8/chrono:659:2: error: expected ‘;’ at end of member declaration min() noexcept ^~~ ; /usr/include/c++/8/chrono:659:8: error: expected unqualified-id before ‘noexcept’ min() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:663:2: error: ‘constexpr’ static data member ‘max’ must have an initializer max() noexcept ^~~ /usr/include/c++/8/chrono:663:2: error: expected ‘;’ at end of member declaration max() noexcept ^~~ ; /usr/include/c++/8/chrono:663:8: error: expected unqualified-id before ‘noexcept’ max() noexcept ^~~~~~~~ /usr/include/c++/8/chrono:826:7: error: non-constant condition for static assertion static_assert(system_clock::duration::min() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ < system_clock::duration::zero(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/chrono:826:7: in ‘constexpr’ expansion of ‘std::chrono::operator< <long long int, std::ratio<1, 1000000000>, long long int, std::ratio<1, 1000000000> >(std::chrono::duration<long long int, std::ratio<1, 1000000000> >::min, std::chrono::duration<long long int, std::ratio<1, 1000000000> >::zero())’ /usr/include/c++/8/chrono:826:7: error: the value of ‘std::chrono::duration<long long int, std::ratio<1, 1000000000> >::min’ is not usable in a constant expression /usr/include/c++/8/chrono:437:2: note: ‘std::chrono::duration<long long int, std::ratio<1, 1000000000> >::min’ was not declared ‘constexpr’ min() noexcept ^~~ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/stl_vector.h: In member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::_M_check_len(std::vector<_Tp, _Alloc>::size_type, const char*) const’: /usr/include/c++/8/bits/stl_vector.h:1645:40: error: expected unqualified-id before ‘(’ token const size_type __len = size() + std::max(size(), __n); ^~~ /usr/include/c++/8/bits/stl_bvector.h: In member function ‘std::vector<bool, _Alloc>::size_type std::vector<bool, _Alloc>::_M_check_len(std::vector<bool, _Alloc>::size_type, const char*) const’: /usr/include/c++/8/bits/stl_bvector.h:1296:40: error: expected unqualified-id before ‘(’ token const size_type __len = size() + std::max(size(), __n); ^~~ /usr/include/c++/8/bits/algorithmfwd.h: At global scope: /usr/include/c++/8/bits/algorithmfwd.h:370:5: error: expected unqualified-id before ‘const’ max(const _Tp&, const _Tp&); ^~~ /usr/include/c++/8/bits/algorithmfwd.h:370:5: error: expected ‘)’ before ‘const’ /usr/include/c++/8/bits/algorithmfwd.h:370:5: note: to match this ‘(’ max(const _Tp&, const _Tp&); ^~~ In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:375:5: error: ‘template<class _Tp, class _Compare> const _Tp& std::max’ conflicts with a previous declaration max(const _Tp&, const _Tp&, _Compare); ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:265:5: note: previous declaration ‘namespace std { }::max’ max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/algorithmfwd.h:383:5: error: expected unqualified-id before ‘const’ min(const _Tp&, const _Tp&); ^~~ /usr/include/c++/8/bits/algorithmfwd.h:383:5: error: expected ‘)’ before ‘const’ /usr/include/c++/8/bits/algorithmfwd.h:383:5: note: to match this ‘(’ min(const _Tp&, const _Tp&); ^~~ In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:388:5: error: ‘template<class _Tp, class _Compare> const _Tp& std::min’ conflicts with a previous declaration min(const _Tp&, const _Tp&, _Compare); ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:243:5: note: previous declaration ‘namespace std { }::min’ min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:416:5: error: ‘template<class _Tp> _Tp std::min’ conflicts with a previous declaration min(initializer_list<_Tp>); ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:243:5: note: previous declaration ‘namespace std { }::min’ min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/algorithmfwd.h:421:5: error: invalid declarator before ‘<’ token min(initializer_list<_Tp>, _Compare); ^~~ /usr/include/c++/8/bits/algorithmfwd.h:421:5: error: expected ‘)’ before ‘<’ token In file included from /usr/include/c++/8/bits/stl_algo.h:60, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/algorithmfwd.h:426:5: error: ‘template<class _Tp> _Tp std::max’ conflicts with a previous declaration max(initializer_list<_Tp>); ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:265:5: note: previous declaration ‘namespace std { }::max’ max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/algorithmfwd.h:431:5: error: invalid declarator before ‘>’ token max(initializer_list<_Tp>, _Compare); ^~~ /usr/include/c++/8/bits/algorithmfwd.h:431:5: error: expected ‘)’ before ‘>’ token In file included from /usr/include/c++/8/bits/stl_algo.h:66, from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/uniform_int_dist.h:150:7: error: expected ‘;’ at end of member declaration min() const ^~~ ; /usr/include/c++/8/bits/uniform_int_dist.h:151:7: error: expected unqualified-id before ‘{’ token { return this->a(); } ^ /usr/include/c++/8/bits/uniform_int_dist.h:157:7: error: expected ‘;’ at end of member declaration max() const ^~~ ; /usr/include/c++/8/bits/uniform_int_dist.h:158:7: error: expected unqualified-id before ‘{’ token { return this->b(); } ^ In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)’: /usr/include/c++/8/bits/stl_algo.h:2680:26: error: expected unqualified-id before ‘(’ token __step_size = std::min(_Distance(__last - __first), __step_size); ^~~ In file included from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/stl_algo.h: At global scope: /usr/include/c++/8/bits/stl_algo.h:3450:5: error: ‘template<class _Tp> _Tp std::min’ conflicts with a previous declaration min(initializer_list<_Tp> __l) ^~~ In file included from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from atomik_transceiver/transceiver.cpp:9: /usr/include/c++/8/bits/stl_algobase.h:243:5: note: previous declaration ‘namespace std { }::min’ min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^~~ In file included from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/stl_algo.h:3451:7: error: expected primary-expression before ‘return’ { return *std::min_element(__l.begin(), __l.end()); } ^~~~~~ /usr/include/c++/8/bits/stl_algo.h:3451:7: error: expected ‘}’ before ‘return’ /usr/include/c++/8/bits/stl_algo.h:3451:6: error: expected ‘;’ before ‘return’ { return *std::min_element(__l.begin(), __l.end()); } ^~~~~~~ ; In file included from /usr/local/include/RF24/RF24.h:23, from atomik_transceiver/transceiver.cpp:18: /usr/include/c++/8/bits/stl_algo.h:3456:5: error: expected ‘)’ before ‘<’ token min(initializer_list<_Tp> __l, _Compare __comp) ^~~ /usr/include/c++/8/bits/stl_algo.h:3456:5: note: to match this ‘(’ min(initializer_list<_Tp> __l, _Compare __comp) ^~~ In file included from /usr/include/c++/8/algorithm:62, from atomik_transceiver/transceiver.cpp:24: /usr/include/c++/8/bits/stl_algo.h:3463:7: error: expected primary-expression before ‘return’ { return *std::max_element(__l.begin(), __l.end()); } ^~~~~~ /usr/include/c++/8/bits/stl_algo.h:3463:7: error: expected ‘}’ before ‘return’ /usr/include/c++/8/bits/stl_algo.h:3463:6: error: expected ‘;’ before ‘return’ { return *std::max_element(__l.begin(), __l.end()); } ^~~~~~~ ; /usr/include/c++/8/bits/stl_algo.h:3463:57: error: expected declaration before ‘}’ token { return *std::max_element(__l.begin(), __l.end()); }
Does anybody have some advice/pointers on where/ what I did wrong?
Thanks!
The text was updated successfully, but these errors were encountered: