Untitled

mail@pastecode.io avatar
unknown
plain_text
23 days ago
2.7 kB
4
Indexable
Never
root@8a894d8c6899:/workspace/custom/refloat/refloat# make refloat.vescpkg
make -C refloat
make[1]: Entering directory '/workspace/custom/refloat/refloat/refloat'
arm-none-eabi-gcc -fpic -Os -Wall -Wextra -Wundef -std=gnu99 -I../../c_libs/ -I../../c_libs//stdperiph_stm32f4//CMSIS/include -I../../c_libs//stdperiph_stm32f4//CMSIS/ST -I../../c_libs//utils// -fomit-frame-pointer -falign-functions=16 -mthumb -fsingle-precision-constant -Wdouble-promotion -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mcpu=cortex-m4 -fdata-sections -ffunction-sections -DIS_VESC_LIB  -DUSE_STLIB -I../../c_libs//stdperiph_stm32f4//inc -MMD -flto -c atr.c -o atr.so
In file included from atr.h:21,
                 from atr.c:19:
conf/datatypes.h:37:14: error: expected '{' before ':' token
   37 | typedef enum : uint8_t {
      |              ^
conf/datatypes.h:40:3: warning: data definition has no type or storage class
   40 | } LedPin;
      |   ^~~~~~
conf/datatypes.h:40:3: warning: type defaults to 'int' in declaration of 'LedPin' [-Wimplicit-int]
conf/datatypes.h:42:14: error: expected '{' before ':' token
   42 | typedef enum : uint8_t {
      |              ^
conf/datatypes.h:75:3: warning: data definition has no type or storage class
   75 | } LedColor;
      |   ^~~~~~~~
conf/datatypes.h:75:3: warning: type defaults to 'int' in declaration of 'LedColor' [-Wimplicit-int]
conf/datatypes.h:77:14: error: expected '{' before ':' token
   77 | typedef enum : uint8_t {
      |              ^
conf/datatypes.h:83:3: warning: data definition has no type or storage class
   83 | } LedMode;
      |   ^~~~~~~
conf/datatypes.h:83:3: warning: type defaults to 'int' in declaration of 'LedMode' [-Wimplicit-int]
conf/datatypes.h:85:14: error: expected '{' before ':' token
   85 | typedef enum : uint8_t {
      |              ^
conf/datatypes.h:90:3: warning: data definition has no type or storage class
   90 | } LedTransition;
      |   ^~~~~~~~~~~~~
conf/datatypes.h:90:3: warning: type defaults to 'int' in declaration of 'LedTransition' [-Wimplicit-int]
conf/datatypes.h:94:5: error: expected specifier-qualifier-list before 'LedColor'
   94 |     LedColor color1;
      |     ^~~~~~~~
conf/datatypes.h:113:5: error: expected specifier-qualifier-list before 'LedTransition'
  113 |     LedTransition headlights_transition;
      |     ^~~~~~~~~~~~~
conf/datatypes.h:134:5: error: expected specifier-qualifier-list before 'LedPin'
  134 |     LedPin pin;
      |     ^~~~~~
make[1]: *** [../../c_libs/rules.mk:58: atr.so] Error 1
make[1]: Leaving directory '/workspace/custom/refloat/refloat/refloat'
make: *** [Makefile:12: refloat] Error 2
Leave a Comment