Errors are due to the lately added ISR routines for rotary encoders of open9x in module 'board_gruvin9x.cpp'
Every line of the three ISR routines outputs errors similar to the following:
Code: Select all
2>g:\companion\r1556\src\../open9x/board_gruvin9x.cpp(298): error C2059: syntax error : 'bad suffix on number'
2>g:\companion\r1556\src\../open9x/board_gruvin9x.cpp(298): error C2146: syntax error : missing ';' before identifier 'b00001100'
2>g:\companion\r1556\src\../open9x/board_gruvin9x.cpp(298): error C2065: 'b00001100' : undeclared identifier
2>g:\companion\r1556\src\../open9x/board_gruvin9x.cpp(299): error C2059: syntax error : 'bad suffix on number'
2>g:\companion\r1556\src\../open9x/board_gruvin9x.cpp(299): error C2146: syntax error : missing ')' before identifier 'b00001100'
2>g:\companion\r1556\src\../open9x/board_gruvin9x.cpp(299): error C2059: syntax error : ')'
2>g:\companion\r1556\src\../open9x/board_gruvin9x.cpp(299): error C2065: 'b00001100' : undeclared identifier
2>g:\companion\r1556\src\../open9x/board_gruvin9x.cpp(299): error C2146: syntax error : missing ';' before identifier 'incRotaryEncoder'
There are also some warning messages:
Code: Select all
2>G:/Companion/r1556/build\./er9x/audio.h(244): warning C4005: 'V_ERROR' : macro redefinition
2>G:/Companion/r1556/build\./er9x/er9x.cpp(748): warning C4805: '|=' : unsafe mix of type 'Er9x::uint8_t' and type 'bool' in operation
2>g:\companion\r1556\open9x\open9x.h(757): warning C4005: 'FORCEINLINE' : macro redefinition
2>g:\companion\r1556\src\../open9x/model_menus.cpp(3247): warning C4805: '!=' : unsafe mix of type 'bool' and type 'Open9x::int8_t' in operation
Reinhard