SHARE
TWEET

Untitled

a guest Jul 11th, 2018 6 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 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
  2. In file included from /usr/include/wchar.h:30,
  3.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/cwchar:44,
  4.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/postypes.h:40,
  5.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/iosfwd:40,
  6.                  from lib/catch.hpp:266,
  7.                  from adc_test.cpp:5:
  8. /usr/include/bits/floatn.h:74:70: error: unknown machine mode '__TC__'
  9.  typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__)));
  10.                                                                       ^
  11. /usr/include/bits/floatn.h:86:9: error: '__float128' does not name a type; did you mean '__cfloat128'?
  12.  typedef __float128 _Float128;
  13.          ^~~~~~~~~~
  14.          __cfloat128
  15. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55,
  16.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59,
  17.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_algobase.h:64,
  18.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/char_traits.h:39,
  19.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
  20.                  from lib/catch.hpp:267,
  21.                  from adc_test.cpp:5:
  22. /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
  23.      struct __is_floating_point_helper<__float128>
  24.                                        ^~~~~~~~~~
  25. /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:347:39: note: suggested alternative: '__cfloat128'
  26.      struct __is_floating_point_helper<__float128>
  27.                                        ^~~~~~~~~~
  28.                                        __cfloat128
  29. /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
  30.      struct __is_floating_point_helper<__float128>
  31.                                                  ^
  32. 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,
  33.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
  34.                  from lib/catch.hpp:267,
  35.                  from adc_test.cpp:5:
  36. /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
  37.    using ::uint_least16_t;
  38.            ^~~~~~~~~~~~~~
  39. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55,
  40.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59,
  41.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_algobase.h:64,
  42.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/char_traits.h:39,
  43.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
  44.                  from lib/catch.hpp:267,
  45.                  from adc_test.cpp:5:
  46. /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'
  47.    typedef __UINT_LEAST16_TYPE__ uint_least16_t;
  48.                                  ^~~~~~~~~~~~~~
  49. 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,
  50.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
  51.                  from lib/catch.hpp:267,
  52.                  from adc_test.cpp:5:
  53. /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
  54.    using ::uint_least32_t;
  55.            ^~~~~~~~~~~~~~
  56. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55,
  57.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59,
  58.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_algobase.h:64,
  59.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/char_traits.h:39,
  60.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:40,
  61.                  from lib/catch.hpp:267,
  62.                  from adc_test.cpp:5:
  63. /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'
  64.    typedef __UINT_LEAST32_TYPE__ uint_least32_t;
  65.                                  ^~~~~~~~~~~~~~
  66. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/cstdlib:77,
  67.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/ext/string_conversions.h:41,
  68.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/basic_string.h:6361,
  69.                  from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/string:52,
  70.                  from lib/catch.hpp:267,
  71.                  from adc_test.cpp:5:
  72. /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'?
  73.    __float128
  74.    ^~~~~~~~~~
  75.    __cfloat128
  76. In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/../../../../include/c++/8.1.1/cmath:45,
  77.                  from lib/catch.hpp:2391,
  78.                  from adc_test.cpp:5:
  79. /usr/include/bits/mathcalls-helper-functions.h:21:36: error: '_Float128' was not declared in this scope
  80.  __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value))
  81.                                     ^~~~~~~~~
  82. /usr/include/bits/mathcalls-helper-functions.h:21:36: note: suggested alternative: '_Float32x'
  83. /usr/include/bits/mathcalls-helper-functions.h:25:33: error: '_Float128' was not declared in this scope
  84.  __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value))
  85.                                  ^~~~~~~~~
  86. /usr/include/bits/mathcalls-helper-functions.h:25:33: note: suggested alternative: '_Float32x'
  87. /usr/include/bits/mathcalls-helper-functions.h:30:31: error: '_Float128' was not declared in this scope
  88.  __MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
  89.                                ^~~~~~~~~
  90. /usr/include/bits/mathcalls-helper-functions.h:30:31: note: suggested alternative: '_Float32x'
  91. /usr/include/bits/mathcalls-helper-functions.h:33:32: error: '_Float128' was not declared in this scope
  92.  __MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
  93.                                 ^~~~~~~~~
  94. /usr/include/bits/mathcalls-helper-functions.h:33:32: note: suggested alternative: '_Float32x'
  95. /usr/include/bits/mathcalls-helper-functions.h:36:31: error: '_Float128' was not declared in this scope
  96.  __MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
  97.                                ^~~~~~~~~
  98. /usr/include/bits/mathcalls-helper-functions.h:36:31: note: suggested alternative: '_Float32x'
  99. /usr/include/bits/mathcalls-helper-functions.h:39:33: error: '_Float128' was not declared in this scope
  100.  __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
  101.                                  ^~~~~~~~~
  102. /usr/include/bits/mathcalls-helper-functions.h:39:33: note: suggested alternative: '_Float32x'
  103. /usr/include/bits/mathcalls-helper-functions.h:39:48: error: '_Float128' was not declared in this scope
  104.  __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
  105.                                                 ^~~~~~~~~
  106. /usr/include/bits/mathcalls-helper-functions.h:39:48: note: suggested alternative: '_Float32x'
  107. /usr/include/bits/mathcalls-helper-functions.h:39:1: error: expression list treated as compound expression in initializer [-fpermissive]
  108.  __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y));
  109.  ^~~~~~~~~~~~
  110. /usr/include/bits/mathcalls-helper-functions.h:42:37: error: '_Float128' was not declared in this scope
  111.  __MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value))
  112.                                      ^~~~~~~~~
  113. /usr/include/bits/mathcalls-helper-functions.h:42:37: note: suggested alternative: '_Float32x'
  114. adc_test.cpp:8:9: error: expected constructor, destructor, or type conversion before '(' token
  115.  SCENERIO("ADC is working properly", "[ADC]") {
  116.          ^
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top