MiCom Bug Thread

Just downloaded ProffieOS from github and set it up. Everything compiles correctly, and the Teensy Loader comes up. This is on IDE 1.8.16 and Teensyduino 1.55, so the most recent software. Wasn’t there changes made to other files specifically for the amplifier and such though? Just wanted to make sure I this current download of ProffieOS has everything except the MiCom specific config files.

It should have everything. It has an example micom config file too.

Pulled the MiCom 3,5, and 10 bank config files from our previous ProffieOS master and put them in the config folder on the most recent version I just got from github. Also, checked the amplifier file and it looks like it’s set to the 0.7 you guys had mentioned above. Ran a sketch compile through Proffieboard and Teensy 4.0 and both compile, so I believe all should be good to go!

I believe we just needed to keep this value at .7 in the amplifier.h

Yep, it looks like that change has been made and saved. I wasn’t sure if there were any other “behind the scenes” changes that were made and not updated, but it looks like besides just not having the specific config files everything is ready to rock.

Please review the rules for this forum.
Screenshots are NOT ALLOWED if cut-n-paste will work.
Please update the post, or I will delete it.

1 Like

PS: In this case, posting a link to that line in github would be sufficient I think:

I didn’t want to wait, so I edit the post myself.

1 Like

Thank you @profezzorn

I’m having troubles compiling on OS 7.8 for the Teensy 4.0.

Here is my error message:

Arduino: 1.8.19 (Windows 10), TD: 1.58, Board: "Teensy 4.0, Serial, 600 MHz, Faster, US English"





















In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46,

                 from C:\Users\tomti\AppData\Local\Temp\arduino_build_700459/pch/Arduino.h:6,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: error: expected unqualified-id before '{' token

  164 | #define abs(x) ({ \

      |                 ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: error: expected ')' before '{' token

  164 | #define abs(x) ({ \

      |                ~^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token

  167 | })

      |  ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: error: expected unqualified-id before '{' token

  164 | #define abs(x) ({ \

      |                 ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: error: expected ')' before '{' token

  164 | #define abs(x) ({ \

      |                ~^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token

  167 | })

      |  ^

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:3,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\dac.h:4,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\sound.h:12,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:432:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'std::complex<_Tp> std::__complex_log(const std::complex<_Tp>&)':

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:805:26: error: expected primary-expression before '(' token

  805 |     { return complex<_Tp>(log(std::abs(__z)), std::arg(__z)); }

      |                          ^

In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46,

                 from C:\Users\tomti\AppData\Local\Temp\arduino_build_700459/pch/Arduino.h:6,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token

  164 | #define abs(x) ({ \

      |                ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: note: to match this '{'

  164 | #define abs(x) ({ \

      |                 ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: note: to match this '('

  164 | #define abs(x) ({ \

      |                ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope

  166 |   (_x > 0) ? _x : -_x; \

      |    ^~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token

  167 | })

      |  ^

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:3,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\dac.h:4,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\sound.h:12,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:432:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:823:12: error: 'complex' does not name a type

  823 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:828:12: error: 'complex' does not name a type

  828 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:834:12: error: 'complex' does not name a type

  834 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:858:12: error: 'complex' does not name a type

  858 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:864:12: error: 'complex' does not name a type

  864 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:888:12: error: 'complex' does not name a type

  888 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:895:5: error: 'complex' does not name a type

  895 |     complex<_Tp>

      |     ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:932:12: error: 'complex' does not name a type

  932 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:939:12: error: 'complex' does not name a type

  939 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:959:12: error: 'complex' does not name a type

  959 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:967:12: error: 'complex' does not name a type

  967 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:987:12: error: 'complex' does not name a type

  987 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:996:5: error: 'complex' does not name a type

  996 |     complex<_Tp>

      |     ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1018:12: error: 'complex' does not name a type

 1018 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1027:5: error: 'complex' does not name a type

 1027 |     complex<_Tp>

      |     ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1042:12: error: 'complex' does not name a type

 1042 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1066:12: error: 'complex' does not name a type

 1066 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1072:12: error: 'complex' does not name a type

 1072 |     inline complex<_Tp>

      |            ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1083:11: error: 'complex' is not a class template

 1083 |     class complex<float>

      |           ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1084:5: error: explicit specialization of non-template 'complex'

 1084 |     {

      |     ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1101:49: error: 'complex' is not a template

 1101 |       explicit _GLIBCXX_CONSTEXPR complex(const complex<double>&);

      |                                                 ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1102:49: error: 'complex' is not a template

 1102 |       explicit _GLIBCXX_CONSTEXPR complex(const complex<long double>&);

      |                                                 ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1102:35: error: 'constexpr complex::complex(const complex&)' cannot be overloaded with 'constexpr complex::complex(const complex&)'

 1102 |       explicit _GLIBCXX_CONSTEXPR complex(const complex<long double>&);

      |                                   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1101:35: note: previous declaration 'constexpr complex::complex(const complex&)'

 1101 |       explicit _GLIBCXX_CONSTEXPR complex(const complex<double>&);

      |                                   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1179:25: error: 'complex' is not a template

 1179 |         operator=(const complex<_Tp>&  __z)

      |                         ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1188:26: error: 'complex' is not a template

 1188 |         operator+=(const complex<_Tp>& __z)

      |                          ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1196:26: error: 'complex' is not a template

 1196 |         operator-=(const complex<_Tp>& __z)

      |                          ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1204:26: error: 'complex' is not a template

 1204 |         operator*=(const complex<_Tp>& __z)

      |                          ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1213:26: error: 'complex' is not a template

 1213 |         operator/=(const complex<_Tp>& __z)

      |                          ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1229:11: error: 'complex' is not a class template

 1229 |     class complex<double>

      |           ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1229:25: error: 'complex' is not a template

 1229 |     class complex<double>

      |                         ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1083:11: note: previous declaration here

 1083 |     class complex<float>

      |           ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1375:11: error: 'complex' is not a class template

 1375 |     class complex<long double>

      |           ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1375:30: error: 'complex' is not a template

 1375 |     class complex<long double>

      |                              ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1083:11: note: previous declaration here

 1083 |     class complex<float>

      |           ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1523:3: error: 'complex' is not a template

 1523 |   complex<float>::complex(const complex<double>& __z)

      |   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1523:33: error: 'complex' is not a template

 1523 |   complex<float>::complex(const complex<double>& __z)

      |                                 ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1523:53: error: 'complex complex(const complex&)' should have been declared inside '::'

 1523 |   complex<float>::complex(const complex<double>& __z)

      |                                                     ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr complex complex(const complex&)':

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1524:5: error: only constructors take member initializers

 1524 |   : _M_value(__z.__rep()) { }

      |     ^~~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1524:29: error: no return statement in 'constexpr' function returning non-void

 1524 |   : _M_value(__z.__rep()) { }

      |                             ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1527:3: error: 'complex' does not name a type

 1527 |   complex<float>::complex(const complex<long double>& __z)

      |   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1531:3: error: 'complex' does not name a type

 1531 |   complex<double>::complex(const complex<long double>& __z)

      |   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1538:19: error: 'istream' is not a template function

 1538 |   extern template istream& operator>>(istream&, complex<float>&);

      |                   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1538:26: error: expected ';' before '&' token

 1538 |   extern template istream& operator>>(istream&, complex<float>&);

      |                          ^

      |                          ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1539:19: error: 'ostream' is not a template function

 1539 |   extern template ostream& operator<<(ostream&, const complex<float>&);

      |                   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1539:26: error: expected ';' before '&' token

 1539 |   extern template ostream& operator<<(ostream&, const complex<float>&);

      |                          ^

      |                          ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1540:19: error: 'istream' is not a template function

 1540 |   extern template istream& operator>>(istream&, complex<double>&);

      |                   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1540:26: error: expected ';' before '&' token

 1540 |   extern template istream& operator>>(istream&, complex<double>&);

      |                          ^

      |                          ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1541:19: error: 'ostream' is not a template function

 1541 |   extern template ostream& operator<<(ostream&, const complex<double>&);

      |                   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1541:26: error: expected ';' before '&' token

 1541 |   extern template ostream& operator<<(ostream&, const complex<double>&);

      |                          ^

      |                          ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1542:19: error: 'istream' is not a template function

 1542 |   extern template istream& operator>>(istream&, complex<long double>&);

      |                   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1542:26: error: expected ';' before '&' token

 1542 |   extern template istream& operator>>(istream&, complex<long double>&);

      |                          ^

      |                          ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1543:19: error: 'ostream' is not a template function

 1543 |   extern template ostream& operator<<(ostream&, const complex<long double>&);

      |                   ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1543:26: error: expected ';' before '&' token

 1543 |   extern template ostream& operator<<(ostream&, const complex<long double>&);

      |                          ^

      |                          ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1546:19: error: 'wistream' is not a template function

 1546 |   extern template wistream& operator>>(wistream&, complex<float>&);

      |                   ^~~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1546:27: error: expected ';' before '&' token

 1546 |   extern template wistream& operator>>(wistream&, complex<float>&);

      |                           ^

      |                           ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1547:19: error: 'wostream' is not a template function

 1547 |   extern template wostream& operator<<(wostream&, const complex<float>&);

      |                   ^~~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1547:27: error: expected ';' before '&' token

 1547 |   extern template wostream& operator<<(wostream&, const complex<float>&);

      |                           ^

      |                           ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1548:19: error: 'wistream' is not a template function

 1548 |   extern template wistream& operator>>(wistream&, complex<double>&);

      |                   ^~~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1548:27: error: expected ';' before '&' token

 1548 |   extern template wistream& operator>>(wistream&, complex<double>&);

      |                           ^

      |                           ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1549:19: error: 'wostream' is not a template function

 1549 |   extern template wostream& operator<<(wostream&, const complex<double>&);

      |                   ^~~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1549:27: error: expected ';' before '&' token

 1549 |   extern template wostream& operator<<(wostream&, const complex<double>&);

      |                           ^

      |                           ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1550:19: error: 'wistream' is not a template function

 1550 |   extern template wistream& operator>>(wistream&, complex<long double>&);

      |                   ^~~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1550:27: error: expected ';' before '&' token

 1550 |   extern template wistream& operator>>(wistream&, complex<long double>&);

      |                           ^

      |                           ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1551:19: error: 'wostream' is not a template function

 1551 |   extern template wostream& operator<<(wostream&, const complex<long double>&);

      |                   ^~~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1551:27: error: expected ';' before '&' token

 1551 |   extern template wostream& operator<<(wostream&, const complex<long double>&);

      |                           ^

      |                           ;

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1558:1: error: expected declaration before '}' token

 1558 | } // namespace

      | ^

In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46,

                 from C:\Users\tomti\AppData\Local\Temp\arduino_build_700459/pch/Arduino.h:6,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function '_Tp std::fabs(const std::complex<_Tp>&)':

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token

  164 | #define abs(x) ({ \

      |                ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: note: to match this '{'

  164 | #define abs(x) ({ \

      |                 ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: note: to match this '('

  164 | #define abs(x) ({ \

      |                ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope

  166 |   (_x > 0) ? _x : -_x; \

      |    ^~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token

  167 | })

      |  ^

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:3,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\dac.h:4,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\sound.h:12,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:432:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1930:10: error: 'complex' does not name a type

 1930 |   inline complex<float>

      |          ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1939:10: error: 'complex' does not name a type

 1939 |   inline complex<double>

      |          ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1948:10: error: 'complex' does not name a type

 1948 |   inline complex<long double>

      |          ^~~~~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'std::complex<typename __gnu_cxx::__promote<_Tp>::__type> proj(_Tp)':

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1969:19: error: 'proj' is not a member of 'std'; did you mean 'proj'?

 1969 |       return std::proj(std::complex<__type>(__x));

      |                   ^~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1966:5: note: 'proj' declared here

 1966 |     proj(_Tp __x)

      |     ^~~~

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1990:33: error: return type 'class std::complex<float>' is incomplete

 1990 |   operator""if(long double __num)

      |                                 ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""if(long double)':

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1991:63: error: too many initializers for 'std::complex<float>'

 1991 |   { return std::complex<float>{0.0F, static_cast<float>(__num)}; }

      |                                                               ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1994:40: error: return type 'class std::complex<float>' is incomplete

 1994 |   operator""if(unsigned long long __num)

      |                                        ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""if(long long unsigned int)':

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1995:63: error: too many initializers for 'std::complex<float>'

 1995 |   { return std::complex<float>{0.0F, static_cast<float>(__num)}; }

      |                                                               ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1998:32: error: return type 'class std::complex<double>' is incomplete

 1998 |   operator""i(long double __num)

      |                                ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""i(long double)':

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:1999:64: error: too many initializers for 'std::complex<double>'

 1999 |   { return std::complex<double>{0.0, static_cast<double>(__num)}; }

      |                                                                ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:2002:39: error: return type 'class std::complex<double>' is incomplete

 2002 |   operator""i(unsigned long long __num)

      |                                       ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""i(long long unsigned int)':

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:2003:64: error: too many initializers for 'std::complex<double>'

 2003 |   { return std::complex<double>{0.0, static_cast<double>(__num)}; }

      |                                                                ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:2006:33: error: return type 'class std::complex<long double>' is incomplete

 2006 |   operator""il(long double __num)

      |                                 ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""il(long double)':

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:2007:49: error: too many initializers for 'std::complex<long double>'

 2007 |   { return std::complex<long double>{0.0L, __num}; }

      |                                                 ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:2010:40: error: return type 'class std::complex<long double>' is incomplete

 2010 |   operator""il(unsigned long long __num)

      |                                        ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""il(long long unsigned int)':

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:2011:75: error: too many initializers for 'std::complex<long double>'

 2011 |   { return std::complex<long double>{0.0L, static_cast<long double>(__num)}; }

      |                                                                           ^

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:

c:\program files (x86)\arduino\hardware\tools\arm\arm-none-eabi\include\c++\11.3.1\complex:2020:1: error: expected declaration before '}' token

 2020 | } // namespace

      | ^

In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46,

                 from C:\Users\tomti\AppData\Local\Temp\arduino_build_700459/pch/Arduino.h:6,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: error: expected unqualified-id before '{' token

  164 | #define abs(x) ({ \

      |                 ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:25:20: note: in expansion of macro 'abs'

   25 |   constexpr double abs() const { return sqrt(len2()); }

      |                    ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: error: expected ')' before '{' token

  164 | #define abs(x) ({ \

      |                ~^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:25:20: note: in expansion of macro 'abs'

   25 |   constexpr double abs() const { return sqrt(len2()); }

      |                    ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token

  167 | })

      |  ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:25:20: note: in expansion of macro 'abs'

   25 |   constexpr double abs() const { return sqrt(len2()); }

      |                    ^~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h: In static member function 'static constexpr double Filter::BLT<T>::gain_from_pole(size_t)':

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token

  164 | #define abs(x) ({ \

      |                ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'

   77 |     return (C(2) - T::pole(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:11: error: expected primary-expression before ')' token

  165 |   typeof(x) _x = (x); \

      |           ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'

   77 |     return (C(2) - T::pole(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'

   77 |     return (C(2) - T::pole(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'

   77 |     return (C(2) - T::pole(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: note: to match this '{'

  164 | #define abs(x) ({ \

      |                 ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'

   77 |     return (C(2) - T::pole(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'

   77 |     return (C(2) - T::pole(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: note: to match this '('

  164 | #define abs(x) ({ \

      |                ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'

   77 |     return (C(2) - T::pole(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope

  166 |   (_x > 0) ? _x : -_x; \

      |    ^~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'

   77 |     return (C(2) - T::pole(k)).abs();

      |                                ^~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h: In static member function 'static constexpr double Filter::BLT<T>::gain_from_zero(size_t)':

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token

  164 | #define abs(x) ({ \

      |                ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'

   80 |     return (C(2) - T::zero(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:11: error: expected primary-expression before ')' token

  165 |   typeof(x) _x = (x); \

      |           ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'

   80 |     return (C(2) - T::zero(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'

   80 |     return (C(2) - T::zero(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'

   80 |     return (C(2) - T::zero(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: note: to match this '{'

  164 | #define abs(x) ({ \

      |                 ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'

   80 |     return (C(2) - T::zero(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'

   80 |     return (C(2) - T::zero(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: note: to match this '('

  164 | #define abs(x) ({ \

      |                ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'

   80 |     return (C(2) - T::zero(k)).abs();

      |                                ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope

  166 |   (_x > 0) ? _x : -_x; \

      |    ^~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'

   80 |     return (C(2) - T::zero(k)).abs();

      |                                ^~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\styles\transition_pulse.h:4,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:498:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\concat.h: At global scope:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\concat.h:157:64: warning: 'this' pointer is null [-Wnonnull]

  157 | static_assert(std::is_same<decltype(((Black*)nullptr)->getColor(0).c.r), uint16_t>::value, "getcolor has changed...");

      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:462:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\styles\rgb.h:33:15: note: in a call to non-static member function 'SimpleColor Rgb<R, G, B>::getColor(int) [with int R = 0; int G = 0; int B = 0]'

   33 |   SimpleColor getColor(int led) {

      |               ^~~~~~~~

In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46,

                 from C:\Users\tomti\AppData\Local\Temp\arduino_build_700459/pch/Arduino.h:6,

                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h: In member function 'decltype (MixColors(a, ((TrWaveX<COLOR, FADEOUT_MS, WAVE_SIZE, WAVE_MS, WAVE_CENTER>*)this)->TrWaveX<COLOR, FADEOUT_MS, WAVE_SIZE, WAVE_MS, WAVE_CENTER>::color_.getColor(led), 1, 1)) TrWaveX<COLOR, FADEOUT_MS, WAVE_SIZE, WAVE_MS, WAVE_CENTER>::getColor(const A&, const B&, int)':

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token

  164 | #define abs(x) ({ \

      |                ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'

   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'

   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'

   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: note: to match this '{'

  164 | #define abs(x) ({ \

      |                 ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'

   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'

   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: note: to match this '('

  164 | #define abs(x) ({ \

      |                ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'

   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope

  166 |   (_x > 0) ? _x : -_x; \

      |    ^~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'

   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h: In member function 'decltype (MixColors(a, ((TrSparkX<COLOR, SPARK_SIZE, SPARK_MS, SPARK_CENTER>*)this)->TrSparkX<COLOR, SPARK_SIZE, SPARK_MS, SPARK_CENTER>::color_.getColor(led), 1, 1)) TrSparkX<COLOR, SPARK_SIZE, SPARK_MS, SPARK_CENTER>::getColor(const A&, const B&, int)':

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token

  164 | #define abs(x) ({ \

      |                ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'

  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'

  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'

  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:17: note: to match this '{'

  164 | #define abs(x) ({ \

      |                 ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'

  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'

  165 |   typeof(x) _x = (x); \

      |   ^~~~~~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'

  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:164:16: note: to match this '('

  164 | #define abs(x) ({ \

      |                ^

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'

  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope

  166 |   (_x > 0) ? _x : -_x; \

      |    ^~

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'

  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);

      |                     ^~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:239:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h: In instantiation of 'struct PrintHelper<Vec3, void>':

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:63:24:   required from 'ConsoleHelper& ConsoleHelper::operator<<(T) [with T = Vec3]'

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\fuse.h:74:5:   required from here

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]

   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {

      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:346:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\vec3.h:121:8: note: in a call to non-static member function 'void Vec3::printTo(Print&)'

  121 |   void printTo(Print& p) {

      |        ^~~~~~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:239:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]

   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {

      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:346:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\vec3.h:121:8: note: in a call to non-static member function 'void Vec3::printTo(Print&)'

  121 |   void printTo(Print& p) {

      |        ^~~~~~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:239:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h: In instantiation of 'struct PrintHelper<Quat, void>':

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:63:24:   required from 'ConsoleHelper& ConsoleHelper::operator<<(T) [with T = Quat]'

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\fuse.h:134:5:   required from here

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]

   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {

      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:347:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\quat.h:116:8: note: in a call to non-static member function 'void Quat::printTo(Print&)'

  116 |   void printTo(Print& p) {

      |        ^~~~~~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:239:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]

   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {

      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~

In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:347:

C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\quat.h:116:8: note: in a call to non-static member function 'void Quat::printTo(Print&)'

  116 |   void printTo(Print& p) {

      |        ^~~~~~~

Multiple libraries were found for "SD.h"

 Used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD

 Not used: C:\Program Files (x86)\Arduino\libraries\SD

Error compiling for board Teensy 4.0.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

here is my config file:

#ifdef CONFIG_TOP
#include "teensy_audio_board_rev_d.h"
#define NUM_BLADES 0
#define NUM_BUTTONS 8
#define VOLUME 2500
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 2.0
#define ENABLE_AUDIO
#define ENABLE_SD
#define ENABLE_DEVELOPER_COMMANDS
#endif

#ifdef CONFIG_PROP
#include "../props/micom.h"
#endif

#ifdef CONFIG_PRESETS
Preset presets[] = {
  { "bank1", "", ""},
  { "bank2", "", ""},
  { "bank3", "", ""},
};
BladeConfig blades[] = { { 0, CONFIGARRAY(presets) }, };
#endif

#ifdef CONFIG_BUTTONS
Button Bt1(BUTTON_TRIGGER_ONE, trigger1Pin, "b1");
Button Bt2(BUTTON_TRIGGER_TWO, trigger2Pin, "b2");
Button Bt3(BUTTON_TRIGGER_THREE, trigger3Pin, "b3");
Button Bt4(BUTTON_TRIGGER_FOUR, trigger4Pin, "b4");
Button Bt5(BUTTON_TRIGGER_FIVE, trigger5Pin, "b5");
Button Bt6(BUTTON_TRIGGER_SIX, trigger6Pin, "b6");
Button Bt7(BUTTON_TRIGGER_SEVEN, trigger7Pin, "b7");
Button Bt8(BUTTON_TRIGGER_EIGHT, trigger8Pin, "b8");
#endif

Updated to Arduino 2.1.1 and latest Teensyduino, same errors basically. Restarted my computer. Ugggh.

Looks like the teensy library has a bad abs() implementation.
Let me see if I can fix it…

I’m wondering if maybe some older teensyduino installation is lingering on your computer. It looks like the abs() issue was fixed in teensyduino 10 months ago.
Also, teensyduino doesn’t install in this directory anymore:

Instead it installs in the arduino15 directory, just like the arduino-proffieboard plugin.

possibly, I’ll try and figure out how to get rid of old teensyduino stuff. Delete all in that folder you think?

Try uninstalling first, if that doesn’t work, go zap it.

Total fresh install, wiped the app data/local/arduino15/packages folder out after uninstall of arduino.

Re-installed arduino 2.1.1 and Teensyduino plugin, as well as proffieboard plugin 3.6:

Errors:

In file included from C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/WProgram.h:46,
                 from C:\Users\tomti\AppData\Local\Temp\arduino\sketches\03C5F54233942A19B63CF23D5171F82B/pch/Arduino.h:6,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: error: expected unqualified-id before '{' token
  164 | #define abs(x) ({ \
      |                 ^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: error: expected ')' before '{' token
  164 | #define abs(x) ({ \
      |                ~^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token
  167 | })
      |  ^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: error: expected unqualified-id before '{' token
  164 | #define abs(x) ({ \
      |                 ^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: error: expected ')' before '{' token
  164 | #define abs(x) ({ \
      |                ~^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token
  167 | })
      |  ^
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:3,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\dac.h:4,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\sound.h:12,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:432:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'std::complex<_Tp> std::__complex_log(const std::complex<_Tp>&)':
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:805:26: error: expected primary-expression before '(' token
  805 |     { return complex<_Tp>(log(std::abs(__z)), std::arg(__z)); }
      |                          ^
In file included from C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/WProgram.h:46,
                 from C:\Users\tomti\AppData\Local\Temp\arduino\sketches\03C5F54233942A19B63CF23D5171F82B/pch/Arduino.h:6,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: note: to match this '{'
  164 | #define abs(x) ({ \
      |                 ^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: note: to match this '('
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope
  166 |   (_x > 0) ? _x : -_x; \
      |    ^~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token
  167 | })
      |  ^
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:3,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\dac.h:4,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\sound.h:12,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:432:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:823:12: error: 'complex' does not name a type
  823 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:828:12: error: 'complex' does not name a type
  828 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:834:12: error: 'complex' does not name a type
  834 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:858:12: error: 'complex' does not name a type
  858 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:864:12: error: 'complex' does not name a type
  864 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:888:12: error: 'complex' does not name a type
  888 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:895:5: error: 'complex' does not name a type
  895 |     complex<_Tp>
      |     ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:932:12: error: 'complex' does not name a type
  932 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:939:12: error: 'complex' does not name a type
  939 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:959:12: error: 'complex' does not name a type
  959 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:967:12: error: 'complex' does not name a type
  967 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:987:12: error: 'complex' does not name a type
  987 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:996:5: error: 'complex' does not name a type
  996 |     complex<_Tp>
      |     ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1018:12: error: 'complex' does not name a type
 1018 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1027:5: error: 'complex' does not name a type
 1027 |     complex<_Tp>
      |     ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1042:12: error: 'complex' does not name a type
 1042 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1066:12: error: 'complex' does not name a type
 1066 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1072:12: error: 'complex' does not name a type
 1072 |     inline complex<_Tp>
      |            ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1083:11: error: 'complex' is not a class template
 1083 |     class complex<float>
      |           ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1084:5: error: explicit specialization of non-template 'complex'
 1084 |     {
      |     ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1101:49: error: 'complex' is not a template
 1101 |       explicit _GLIBCXX_CONSTEXPR complex(const complex<double>&);
      |                                                 ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1102:49: error: 'complex' is not a template
 1102 |       explicit _GLIBCXX_CONSTEXPR complex(const complex<long double>&);
      |                                                 ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1102:35: error: 'constexpr complex::complex(const complex&)' cannot be overloaded with 'constexpr complex::complex(const complex&)'
 1102 |       explicit _GLIBCXX_CONSTEXPR complex(const complex<long double>&);
      |                                   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1101:35: note: previous declaration 'constexpr complex::complex(const complex&)'
 1101 |       explicit _GLIBCXX_CONSTEXPR complex(const complex<double>&);
      |                                   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1179:25: error: 'complex' is not a template
 1179 |         operator=(const complex<_Tp>&  __z)
      |                         ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1188:26: error: 'complex' is not a template
 1188 |         operator+=(const complex<_Tp>& __z)
      |                          ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1196:26: error: 'complex' is not a template
 1196 |         operator-=(const complex<_Tp>& __z)
      |                          ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1204:26: error: 'complex' is not a template
 1204 |         operator*=(const complex<_Tp>& __z)
      |                          ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1213:26: error: 'complex' is not a template
 1213 |         operator/=(const complex<_Tp>& __z)
      |                          ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1229:11: error: 'complex' is not a class template
 1229 |     class complex<double>
      |           ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1229:25: error: 'complex' is not a template
 1229 |     class complex<double>
      |                         ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1083:11: note: previous declaration here
 1083 |     class complex<float>
      |           ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1375:11: error: 'complex' is not a class template
 1375 |     class complex<long double>
      |           ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1375:30: error: 'complex' is not a template
 1375 |     class complex<long double>
      |                              ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1083:11: note: previous declaration here
 1083 |     class complex<float>
      |           ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1523:3: error: 'complex' is not a template
 1523 |   complex<float>::complex(const complex<double>& __z)
      |   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1523:33: error: 'complex' is not a template
 1523 |   complex<float>::complex(const complex<double>& __z)
      |                                 ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1523:53: error: 'complex complex(const complex&)' should have been declared inside '::'
 1523 |   complex<float>::complex(const complex<double>& __z)
      |                                                     ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr complex complex(const complex&)':
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1524:5: error: only constructors take member initializers
 1524 |   : _M_value(__z.__rep()) { }
      |     ^~~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1524:29: error: no return statement in 'constexpr' function returning non-void
 1524 |   : _M_value(__z.__rep()) { }
      |                             ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1527:3: error: 'complex' does not name a type
 1527 |   complex<float>::complex(const complex<long double>& __z)
      |   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1531:3: error: 'complex' does not name a type
 1531 |   complex<double>::complex(const complex<long double>& __z)
      |   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1538:19: error: 'istream' is not a template function
 1538 |   extern template istream& operator>>(istream&, complex<float>&);
      |                   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1538:26: error: expected ';' before '&' token
 1538 |   extern template istream& operator>>(istream&, complex<float>&);
      |                          ^
      |                          ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1539:19: error: 'ostream' is not a template function
 1539 |   extern template ostream& operator<<(ostream&, const complex<float>&);
      |                   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1539:26: error: expected ';' before '&' token
 1539 |   extern template ostream& operator<<(ostream&, const complex<float>&);
      |                          ^
      |                          ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1540:19: error: 'istream' is not a template function
 1540 |   extern template istream& operator>>(istream&, complex<double>&);
      |                   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1540:26: error: expected ';' before '&' token
 1540 |   extern template istream& operator>>(istream&, complex<double>&);
      |                          ^
      |                          ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1541:19: error: 'ostream' is not a template function
 1541 |   extern template ostream& operator<<(ostream&, const complex<double>&);
      |                   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1541:26: error: expected ';' before '&' token
 1541 |   extern template ostream& operator<<(ostream&, const complex<double>&);
      |                          ^
      |                          ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1542:19: error: 'istream' is not a template function
 1542 |   extern template istream& operator>>(istream&, complex<long double>&);
      |                   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1542:26: error: expected ';' before '&' token
 1542 |   extern template istream& operator>>(istream&, complex<long double>&);
      |                          ^
      |                          ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1543:19: error: 'ostream' is not a template function
 1543 |   extern template ostream& operator<<(ostream&, const complex<long double>&);
      |                   ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1543:26: error: expected ';' before '&' token
 1543 |   extern template ostream& operator<<(ostream&, const complex<long double>&);
      |                          ^
      |                          ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1546:19: error: 'wistream' is not a template function
 1546 |   extern template wistream& operator>>(wistream&, complex<float>&);
      |                   ^~~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1546:27: error: expected ';' before '&' token
 1546 |   extern template wistream& operator>>(wistream&, complex<float>&);
      |                           ^
      |                           ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1547:19: error: 'wostream' is not a template function
 1547 |   extern template wostream& operator<<(wostream&, const complex<float>&);
      |                   ^~~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1547:27: error: expected ';' before '&' token
 1547 |   extern template wostream& operator<<(wostream&, const complex<float>&);
      |                           ^
      |                           ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1548:19: error: 'wistream' is not a template function
 1548 |   extern template wistream& operator>>(wistream&, complex<double>&);
      |                   ^~~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1548:27: error: expected ';' before '&' token
 1548 |   extern template wistream& operator>>(wistream&, complex<double>&);
      |                           ^
      |                           ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1549:19: error: 'wostream' is not a template function
 1549 |   extern template wostream& operator<<(wostream&, const complex<double>&);
      |                   ^~~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1549:27: error: expected ';' before '&' token
 1549 |   extern template wostream& operator<<(wostream&, const complex<double>&);
      |                           ^
      |                           ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1550:19: error: 'wistream' is not a template function
 1550 |   extern template wistream& operator>>(wistream&, complex<long double>&);
      |                   ^~~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1550:27: error: expected ';' before '&' token
 1550 |   extern template wistream& operator>>(wistream&, complex<long double>&);
      |                           ^
      |                           ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1551:19: error: 'wostream' is not a template function
 1551 |   extern template wostream& operator<<(wostream&, const complex<long double>&);
      |                   ^~~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1551:27: error: expected ';' before '&' token
 1551 |   extern template wostream& operator<<(wostream&, const complex<long double>&);
      |                           ^
      |                           ;
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1558:1: error: expected declaration before '}' token
 1558 | } // namespace
      | ^
In file included from C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/WProgram.h:46,
                 from C:\Users\tomti\AppData\Local\Temp\arduino\sketches\03C5F54233942A19B63CF23D5171F82B/pch/Arduino.h:6,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function '_Tp std::fabs(const std::complex<_Tp>&)':
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: note: to match this '{'
  164 | #define abs(x) ({ \
      |                 ^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: note: to match this '('
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope
  166 |   (_x > 0) ? _x : -_x; \
      |    ^~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token
  167 | })
      |  ^
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:3,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\dac.h:4,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\sound.h:12,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:432:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1930:10: error: 'complex' does not name a type
 1930 |   inline complex<float>
      |          ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1939:10: error: 'complex' does not name a type
 1939 |   inline complex<double>
      |          ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1948:10: error: 'complex' does not name a type
 1948 |   inline complex<long double>
      |          ^~~~~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'std::complex<typename __gnu_cxx::__promote<_Tp>::__type> proj(_Tp)':
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1969:19: error: 'proj' is not a member of 'std'; did you mean 'proj'?
 1969 |       return std::proj(std::complex<__type>(__x));
      |                   ^~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1966:5: note: 'proj' declared here
 1966 |     proj(_Tp __x)
      |     ^~~~
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1990:33: error: return type 'class std::complex<float>' is incomplete
 1990 |   operator""if(long double __num)
      |                                 ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""if(long double)':
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1991:63: error: too many initializers for 'std::complex<float>'
 1991 |   { return std::complex<float>{0.0F, static_cast<float>(__num)}; }
      |                                                               ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1994:40: error: return type 'class std::complex<float>' is incomplete
 1994 |   operator""if(unsigned long long __num)
      |                                        ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""if(long long unsigned int)':
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1995:63: error: too many initializers for 'std::complex<float>'
 1995 |   { return std::complex<float>{0.0F, static_cast<float>(__num)}; }
      |                                                               ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1998:32: error: return type 'class std::complex<double>' is incomplete
 1998 |   operator""i(long double __num)
      |                                ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""i(long double)':
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:1999:64: error: too many initializers for 'std::complex<double>'
 1999 |   { return std::complex<double>{0.0, static_cast<double>(__num)}; }
      |                                                                ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:2002:39: error: return type 'class std::complex<double>' is incomplete
 2002 |   operator""i(unsigned long long __num)
      |                                       ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""i(long long unsigned int)':
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:2003:64: error: too many initializers for 'std::complex<double>'
 2003 |   { return std::complex<double>{0.0, static_cast<double>(__num)}; }
      |                                                                ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:2006:33: error: return type 'class std::complex<long double>' is incomplete
 2006 |   operator""il(long double __num)
      |                                 ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""il(long double)':
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:2007:49: error: too many initializers for 'std::complex<long double>'
 2007 |   { return std::complex<long double>{0.0L, __num}; }
      |                                                 ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:2010:40: error: return type 'class std::complex<long double>' is incomplete
 2010 |   operator""il(unsigned long long __num)
      |                                        ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: In function 'constexpr void literals::complex_literals::operator""il(long long unsigned int)':
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:2011:75: error: too many initializers for 'std::complex<long double>'
 2011 |   { return std::complex<long double>{0.0L, static_cast<long double>(__num)}; }
      |                                                                           ^
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex: At global scope:
c:\users\tomti\appdata\local\arduino15\packages\teensy\tools\teensy-compile\11.3.1\arm\arm-none-eabi\include\c++\11.3.1\complex:2020:1: error: expected declaration before '}' token
 2020 | } // namespace
      | ^
In file included from C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/WProgram.h:46,
                 from C:\Users\tomti\AppData\Local\Temp\arduino\sketches\03C5F54233942A19B63CF23D5171F82B/pch/Arduino.h:6,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: error: expected unqualified-id before '{' token
  164 | #define abs(x) ({ \
      |                 ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:25:20: note: in expansion of macro 'abs'
   25 |   constexpr double abs() const { return sqrt(len2()); }
      |                    ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: error: expected ')' before '{' token
  164 | #define abs(x) ({ \
      |                ~^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:25:20: note: in expansion of macro 'abs'
   25 |   constexpr double abs() const { return sqrt(len2()); }
      |                    ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:167:2: error: expected unqualified-id before ')' token
  167 | })
      |  ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:25:20: note: in expansion of macro 'abs'
   25 |   constexpr double abs() const { return sqrt(len2()); }
      |                    ^~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h: In static member function 'static constexpr double Filter::BLT<T>::gain_from_pole(size_t)':
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'
   77 |     return (C(2) - T::pole(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:11: error: expected primary-expression before ')' token
  165 |   typeof(x) _x = (x); \
      |           ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'
   77 |     return (C(2) - T::pole(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'
   77 |     return (C(2) - T::pole(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'
   77 |     return (C(2) - T::pole(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: note: to match this '{'
  164 | #define abs(x) ({ \
      |                 ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'
   77 |     return (C(2) - T::pole(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'
   77 |     return (C(2) - T::pole(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: note: to match this '('
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'
   77 |     return (C(2) - T::pole(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope
  166 |   (_x > 0) ? _x : -_x; \
      |    ^~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:77:32: note: in expansion of macro 'abs'
   77 |     return (C(2) - T::pole(k)).abs();
      |                                ^~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h: In static member function 'static constexpr double Filter::BLT<T>::gain_from_zero(size_t)':
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'
   80 |     return (C(2) - T::zero(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:11: error: expected primary-expression before ')' token
  165 |   typeof(x) _x = (x); \
      |           ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'
   80 |     return (C(2) - T::zero(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'
   80 |     return (C(2) - T::zero(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'
   80 |     return (C(2) - T::zero(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: note: to match this '{'
  164 | #define abs(x) ({ \
      |                 ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'
   80 |     return (C(2) - T::zero(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'
   80 |     return (C(2) - T::zero(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: note: to match this '('
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'
   80 |     return (C(2) - T::zero(k)).abs();
      |                                ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope
  166 |   (_x > 0) ? _x : -_x; \
      |    ^~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\sound\filter.h:80:32: note: in expansion of macro 'abs'
   80 |     return (C(2) - T::zero(k)).abs();
      |                                ^~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\styles\transition_pulse.h:4,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:498:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\concat.h: At global scope:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\concat.h:157:64: warning: 'this' pointer is null [-Wnonnull]
  157 | static_assert(std::is_same<decltype(((Black*)nullptr)->getColor(0).c.r), uint16_t>::value, "getcolor has changed...");
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:462:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\styles\rgb.h:33:15: note: in a call to non-static member function 'SimpleColor Rgb<R, G, B>::getColor(int) [with int R = 0; int G = 0; int B = 0]'
   33 |   SimpleColor getColor(int led) {
      |               ^~~~~~~~
In file included from C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/WProgram.h:46,
                 from C:\Users\tomti\AppData\Local\Temp\arduino\sketches\03C5F54233942A19B63CF23D5171F82B/pch/Arduino.h:6,
                 from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:162:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h: In member function 'decltype (MixColors(a, ((TrWaveX<COLOR, FADEOUT_MS, WAVE_SIZE, WAVE_MS, WAVE_CENTER>*)this)->TrWaveX<COLOR, FADEOUT_MS, WAVE_SIZE, WAVE_MS, WAVE_CENTER>::color_.getColor(led), 1, 1)) TrWaveX<COLOR, FADEOUT_MS, WAVE_SIZE, WAVE_MS, WAVE_CENTER>::getColor(const A&, const B&, int)':
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'
   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'
   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'
   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: note: to match this '{'
  164 | #define abs(x) ({ \
      |                 ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'
   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'
   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: note: to match this '('
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'
   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope
  166 |   (_x > 0) ? _x : -_x; \
      |    ^~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:49:21: note: in expansion of macro 'abs'
   49 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h: In member function 'decltype (MixColors(a, ((TrSparkX<COLOR, SPARK_SIZE, SPARK_MS, SPARK_CENTER>*)this)->TrSparkX<COLOR, SPARK_SIZE, SPARK_MS, SPARK_CENTER>::color_.getColor(led), 1, 1)) TrSparkX<COLOR, SPARK_SIZE, SPARK_MS, SPARK_CENTER>::getColor(const A&, const B&, int)':
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: error: expected unqualified-id before '(' token
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'
  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected primary-expression before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'
  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected '}' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'
  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:17: note: to match this '{'
  164 | #define abs(x) ({ \
      |                 ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'
  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:165:3: error: expected ')' before 'typeof'
  165 |   typeof(x) _x = (x); \
      |   ^~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'
  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:164:16: note: to match this '('
  164 | #define abs(x) ({ \
      |                ^
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'
  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4/wiring.h:166:4: error: '_x' was not declared in this scope
  166 |   (_x > 0) ? _x : -_x; \
      |    ^~
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\transitions\wave.h:100:21: note: in expansion of macro 'abs'
  100 |     int dist = std::abs(center_ - led * 32768 / num_leds_);
      |                     ^~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:239:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h: In instantiation of 'struct PrintHelper<Vec3, void>':
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:63:24:   required from 'ConsoleHelper& ConsoleHelper::operator<<(T) [with T = Vec3]'
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\fuse.h:74:5:   required from here
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]
   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {
      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:346:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\vec3.h:121:8: note: in a call to non-static member function 'void Vec3::printTo(Print&)'
  121 |   void printTo(Print& p) {
      |        ^~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:239:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]
   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {
      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:346:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\vec3.h:121:8: note: in a call to non-static member function 'void Vec3::printTo(Print&)'
  121 |   void printTo(Print& p) {
      |        ^~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:239:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h: In instantiation of 'struct PrintHelper<Quat, void>':
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:63:24:   required from 'ConsoleHelper& ConsoleHelper::operator<<(T) [with T = Quat]'
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\fuse.h:134:5:   required from here
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]
   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {
      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:347:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\quat.h:116:8: note: in a call to non-static member function 'void Quat::printTo(Print&)'
  116 |   void printTo(Print& p) {
      |        ^~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:239:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]
   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {
      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\ProffieOS.ino:347:
C:\Users\tomti\OneDrive\Desktop\7.8\ProffieOS\common\quat.h:116:8: note: in a call to non-static member function 'void Quat::printTo(Print&)'
  116 |   void printTo(Print& p) {
      |        ^~~~~~~
Multiple libraries were found for "SD.h"
  Used: C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\libraries\SD
  Not used: C:\Users\tomti\AppData\Local\Arduino15\libraries\SD
exit status 1

Compilation error: exit status 1

Ok, let me upgrade mine and see if I get the same thing…

1 Like

Ok, I have two fixes on github master:

and:

You can download github master, or apply these fixes to your ProffieOS and it should hopefully work better.

1 Like

thank you Fredrik! MiCom is not dead yet, TrooperCom is possibly going to resurrect it!

Still popping something from motion folder:

In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\styles\transition_pulse.h:4,
                 from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:514:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\transitions\concat.h:157:64: warning: 'this' pointer is null [-Wnonnull]
  157 | static_assert(std::is_same<decltype(((Black*)nullptr)->getColor(0).c.r), uint16_t>::value, "getcolor has changed...");
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:478:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\styles\rgb.h:33:15: note: in a call to non-static member function 'SimpleColor Rgb<R, G, B>::getColor(int) [with int R = 0; int G = 0; int B = 0]'
   33 |   SimpleColor getColor(int led) {
      |               ^~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:1431:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\motion\lsm6ds3h.h: In member function 'virtual void LSM6DS3H::Loop()':
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\motion\lsm6ds3h.h:177:11: error: 'motionSensorInterruptPin' was not declared in this scope
  177 |       if (motionSensorInterruptPin != -1) {
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\motion\lsm6ds3h.h:206:13: error: 'motionSensorInterruptPin' was not declared in this scope
  206 |         if (motionSensorInterruptPin == -1) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:255:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\stdout.h: In instantiation of 'struct PrintHelper<Vec3, void>':
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\stdout.h:63:24:   required from 'ConsoleHelper& ConsoleHelper::operator<<(T) [with T = Vec3]'
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\fuse.h:74:5:   required from here
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]
   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {
      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:362:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\vec3.h:121:8: note: in a call to non-static member function 'void Vec3::printTo(Print&)'
  121 |   void printTo(Print& p) {
      |        ^~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:255:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]
   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {
      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:362:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\vec3.h:121:8: note: in a call to non-static member function 'void Vec3::printTo(Print&)'
  121 |   void printTo(Print& p) {
      |        ^~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:255:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\stdout.h: In instantiation of 'struct PrintHelper<Quat, void>':
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\stdout.h:63:24:   required from 'ConsoleHelper& ConsoleHelper::operator<<(T) [with T = Quat]'
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\fuse.h:134:5:   required from here
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]
   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {
      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:363:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\quat.h:116:8: note: in a call to non-static member function 'void Quat::printTo(Print&)'
  116 |   void printTo(Print& p) {
      |        ^~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:255:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\stdout.h:40:69: warning: 'this' pointer is null [-Wnonnull]
   40 | template<typename T> struct PrintHelper<T, decltype(((T*)0)->printTo(*(Print*)0))> {
      |                                                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\ProffieOS.ino:363:
C:\Users\tomti\OneDrive\Desktop\7.8x\ProffieOS\common\quat.h:116:8: note: in a call to non-static member function 'void Quat::printTo(Print&)'
  116 |   void printTo(Print& p) {
      |        ^~~~~~~
Multiple libraries were found for "SD.h"
  Used: C:\Users\tomti\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\libraries\SD
  Not used: C:\Users\tomti\AppData\Local\Arduino15\libraries\SD
exit status 1

Compilation error: 'motionSensorInterruptPin' was not declared in this scope