Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- avr-g++ -mmcu=atmega8 -I /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1 -I /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/x86_64-pc-linux-gnu -I /usr/include lib/main_test.o adc_test.cpp -o tests && ./tests
- In file included from /usr/include/wchar.h:30,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/cwchar:44,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/postypes.h:40,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/iosfwd:40,
- from lib/catch.hpp:266,
- from adc_test.cpp:5:
- /usr/include/bits/floatn.h:74:70: error: unknown machine mode '__TC__'
- typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__)));
- ^
- /usr/include/bits/floatn.h:86:9: error: '__float128' does not name a type; did you mean '__cfloat128'?
- typedef __float128 _Float128;
- ^~~~~~~~~~
- __cfloat128
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_algobase.h:64,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/char_traits.h:39,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
- from lib/catch.hpp:267,
- from adc_test.cpp:5:
- /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:347:39: error: '__float128' was not declared in this scope
- struct __is_floating_point_helper<__float128>
- ^~~~~~~~~~
- /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:347:39: note: suggested alternative: '__cfloat128'
- struct __is_floating_point_helper<__float128>
- ^~~~~~~~~~
- __cfloat128
- /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:347:49: error: template argument 1 is invalid
- struct __is_floating_point_helper<__float128>
- ^
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/char_traits.h:501,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
- from lib/catch.hpp:267,
- from adc_test.cpp:5:
- /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/cstdint:77:11: error: 'typedef short unsigned int uint_least16_t' conflicts with a previous declaration
- using ::uint_least16_t;
- ^~~~~~~~~~~~~~
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_algobase.h:64,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/char_traits.h:39,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
- from lib/catch.hpp:267,
- from adc_test.cpp:5:
- /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:44:33: note: previous declaration 'typedef unsigned int std::uint_least16_t'
- typedef __UINT_LEAST16_TYPE__ uint_least16_t;
- ^~~~~~~~~~~~~~
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/char_traits.h:501,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
- from lib/catch.hpp:267,
- from adc_test.cpp:5:
- /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/cstdint:78:11: error: 'typedef unsigned int uint_least32_t' conflicts with a previous declaration
- using ::uint_least32_t;
- ^~~~~~~~~~~~~~
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_algobase.h:64,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/char_traits.h:39,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
- from lib/catch.hpp:267,
- from adc_test.cpp:5:
- /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:45:33: note: previous declaration 'typedef long unsigned int std::uint_least32_t'
- typedef __UINT_LEAST32_TYPE__ uint_least32_t;
- ^~~~~~~~~~~~~~
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/cstdlib:77,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/ext/string_conversions.h:41,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/basic_string.h:6361,
- from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:52,
- from lib/catch.hpp:267,
- from adc_test.cpp:5:
- /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/std_abs.h:101:3: error: '__float128' does not name a type; did you mean '__cfloat128'?
- __float128
- ^~~~~~~~~~
- __cfloat128
- In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/cmath:45,
- from lib/catch.hpp:2391,
- from adc_test.cpp:5:
- /usr/include/bits/mathcalls-helper-functions.h:21:36: error: '_Float128' was not declared in this scope
- __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value))
- ^~~~~~~~~
- /usr/include/bits/mathcalls-helper-functions.h:21:36: note: suggested alternative: '_Float32x'
- /usr/include/bits/mathcalls-helper-functions.h:25:33: error: '_Float128' was not declared in this scope
- __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value))
- ^~~~~~~~~
- /usr/include/bits/mathcalls-helper-functions.h:25:33: note: suggested alternative: '_Float32x'
- /usr/include/bits/mathcalls-helper-functions.h:30:31: error: '_Float128' was not declared in this scope
- __MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
- ^~~~~~~~~
- /usr/include/bits/mathcalls-helper-functions.h:30:31: note: suggested alternative: '_Float32x'
- /usr/include/bits/mathcalls-helper-functions.h:33:32: error: '_Float128' was not declared in this scope
- __MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
- ^~~~~~~~~
- /usr/include/bits/mathcalls-helper-functions.h:33:32: note: suggested alternative: '_Float32x'
- /usr/include/bits/mathcalls-helper-functions.h:36:31: error: '_Float128' was not declared in this scope
- __MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
- ^~~~~~~~~
- /usr/include/bits/mathcalls-helper-functions.h:36:31: note: suggested alternative: '_Float32x'
- /usr/include/bits/mathcalls-helper-functions.h:39:33: error: '_Float128' was not declared in this scope
- __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
- ^~~~~~~~~
- /usr/include/bits/mathcalls-helper-functions.h:39:33: note: suggested alternative: '_Float32x'
- /usr/include/bits/mathcalls-helper-functions.h:39:48: error: '_Float128' was not declared in this scope
- __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
- ^~~~~~~~~
- /usr/include/bits/mathcalls-helper-functions.h:39:48: note: suggested alternative: '_Float32x'
- /usr/include/bits/mathcalls-helper-functions.h:39:1: error: expression list treated as compound expression in initializer [-fpermissive]
- __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
- ^~~~~~~~~~~~
- /usr/include/bits/mathcalls-helper-functions.h:42:37: error: '_Float128' was not declared in this scope
- __MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value))
- ^~~~~~~~~
- /usr/include/bits/mathcalls-helper-functions.h:42:37: note: suggested alternative: '_Float32x'
- adc_test.cpp:8:9: error: expected constructor, destructor, or type conversion before '(' token
- SCENERIO("ADC is working properly", "[ADC]") {
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement