Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arduino: 1.8.15 (Windows 10), Board: "Proffieboard V2, Serial + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"
- C:\Users\austin\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\austin\Arduino\hardware -hardware C:\Users\austin\AppData\Local\Arduino15\packages -tools C:\Users\austin\Arduino\tools-builder -tools C:\Users\austin\Arduino\hardware\tools\avr -tools C:\Users\austin\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\austin\Arduino\libraries -libraries C:\Users\austin\Documents\Arduino\libraries -fqbn=proffieboard:stm32l4:ProffieboardV2-L433CC:usb=cdc_webusb,dosfs=sdspi,speed=80,opt=os -vid-pid=1209_6668 -ide-version=10815 -build-path C:\Users\austin\AppData\Local\Temp\arduino_build_501509 -warnings=none -build-cache C:\Users\austin\AppData\Local\Temp\arduino_cache_689813 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\austin\AppData\Local\Arduino15\packages\proffieboard\tools\arm-none-eabi-gcc\9-2020-q2-update -prefs=runtime.tools.arm-none-eabi-gcc-9-2020-q2-update.path=C:\Users\austin\AppData\Local\Arduino15\packages\proffieboard\tools\arm-none-eabi-gcc\9-2020-q2-update -verbose C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino
- C:\Users\austin\Arduino\arduino-builder -compile -logger=machine -hardware C:\Users\austin\Arduino\hardware -hardware C:\Users\austin\AppData\Local\Arduino15\packages -tools C:\Users\austin\Arduino\tools-builder -tools C:\Users\austin\Arduino\hardware\tools\avr -tools C:\Users\austin\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\austin\Arduino\libraries -libraries C:\Users\austin\Documents\Arduino\libraries -fqbn=proffieboard:stm32l4:ProffieboardV2-L433CC:usb=cdc_webusb,dosfs=sdspi,speed=80,opt=os -vid-pid=1209_6668 -ide-version=10815 -build-path C:\Users\austin\AppData\Local\Temp\arduino_build_501509 -warnings=none -build-cache C:\Users\austin\AppData\Local\Temp\arduino_cache_689813 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\austin\AppData\Local\Arduino15\packages\proffieboard\tools\arm-none-eabi-gcc\9-2020-q2-update -prefs=runtime.tools.arm-none-eabi-gcc-9-2020-q2-update.path=C:\Users\austin\AppData\Local\Arduino15\packages\proffieboard\tools\arm-none-eabi-gcc\9-2020-q2-update -verbose C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino
- Using board 'ProffieboardV2-L433CC' from platform in folder: C:\Users\austin\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\3.6.0
- Using core 'stm32l4' from platform in folder: C:\Users\austin\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\3.6.0
- Detecting libraries used...
- "C:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10815 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "C:\\Users\\austin\\AppData\\Local\\Temp\\arduino_build_501509\\sketch\\ProffieOS.ino.cpp" -o nul
- Alternatives for Wire.h: [Wire@1.0]
- ResolveLibrary(Wire.h)
- -> candidates: [Wire@1.0]
- "C:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10815 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src" "C:\\Users\\austin\\AppData\\Local\\Temp\\arduino_build_501509\\sketch\\ProffieOS.ino.cpp" -o nul
- "C:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10815 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src" "C:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src\\Wire.cpp" -o nul
- Generating function prototypes...
- "C:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -flto -fdevirtualize-at-ltrans -w -x c++ -E -CC -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10815 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src" "C:\\Users\\austin\\AppData\\Local\\Temp\\arduino_build_501509\\sketch\\ProffieOS.ino.cpp" -o "C:\\Users\\austin\\AppData\\Local\\Temp\\arduino_build_501509\\preproc\\ctags_target_for_gcc_minus_e.cpp"
- "C:\\Users\\austin\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\austin\\AppData\\Local\\Temp\\arduino_build_501509\\preproc\\ctags_target_for_gcc_minus_e.cpp"
- Compiling sketch...
- "C:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\tools\\arm-none-eabi-gcc\\9-2020-q2-update/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib -fno-rtti -fno-exceptions -MMD -flto -fdevirtualize-at-ltrans -D_SYSTEM_CORE_CLOCK_=80000000L -DARDUINO=10815 -DARDUINO_STM32L4_BUTTERLY -DARDUINO_ARCH_STM32L4 -DSTM32L433xx -DPROFFIEBOARD_VERSION=2 -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant -felide-constructors -ffast-math -DUSB_VID=0x1209 -DUSB_PID=0x6668 -DUSB_DID=0xffff "-DUSB_MANUFACTURER=\"hubbe.net\"" "-DUSB_PRODUCT=\"Proffieboard\"" -DUSB_TYPE=USB_TYPE_CDC_WEBUSB -DDOSFS_SDCARD=1 -DDOSFS_SFLASH=0 "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/CMSIS/Device/ST/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0/system/STM32L4xx/Include" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\cores\\stm32l4" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\variants\\STM32L433CC-ProffieboardV2" "-IC:\\Users\\austin\\AppData\\Local\\Arduino15\\packages\\proffieboard\\hardware\\stm32l4\\3.6.0\\libraries\\Wire\\src" "C:\\Users\\austin\\AppData\\Local\\Temp\\arduino_build_501509\\sketch\\ProffieOS.ino.cpp" -o "C:\\Users\\austin\\AppData\\Local\\Temp\\arduino_build_501509\\sketch\\ProffieOS.ino.cpp.o"
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:397:
- C:\Users\austin\Desktop\ProffieOS\common\color.h: In member function 'uint8_t Color8::select(const Color8&) const':
- C:\Users\austin\Desktop\ProffieOS\common\color.h:34:29: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 34 | if (other.r) ret = std::min<int>(ret, r * 255 / other.r);
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:34:33: error: expected primary-expression before 'int'
- 34 | if (other.r) ret = std::min<int>(ret, r * 255 / other.r);
- | ^~~
- C:\Users\austin\Desktop\ProffieOS\common\color.h:35:29: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 35 | if (other.g) ret = std::min<int>(ret, g * 255 / other.g);
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:35:33: error: expected primary-expression before 'int'
- 35 | if (other.g) ret = std::min<int>(ret, g * 255 / other.g);
- | ^~~
- C:\Users\austin\Desktop\ProffieOS\common\color.h:36:29: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 36 | if (other.b) ret = std::min<int>(ret, b * 255 / other.b);
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:36:33: error: expected primary-expression before 'int'
- 36 | if (other.b) ret = std::min<int>(ret, b * 255 / other.b);
- | ^~~
- C:\Users\austin\Desktop\ProffieOS\common\color.h: In member function 'uint8_t Color8::getByte(int, int)':
- C:\Users\austin\Desktop\ProffieOS\common\color.h:96:27: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 96 | case 4: return std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:96:39: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 96 | case 4: return std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:97:31: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 97 | case 5: return r - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:97:43: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 97 | case 5: return r - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:98:31: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 98 | case 6: return g - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:98:43: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 98 | case 6: return g - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:99:31: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 99 | case 7: return b - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:99:43: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 99 | case 7: return b - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h: In member function 'Color8 Color8::operator|(const Color8&) const':
- C:\Users\austin\Desktop\ProffieOS\common\color.h:132:24: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 132 | return Color8(std::max(r, other.r), std::max(g, other.g), std::max(b, other.b));
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\common\color.h:132:46: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 132 | return Color8(std::max(r, other.r), std::max(g, other.g), std::max(b, other.b));
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\common\color.h:132:68: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 132 | return Color8(std::max(r, other.r), std::max(g, other.g), std::max(b, other.b));
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\common\color.h: In function 'uint8_t GETBYTEN(const Color8&) [with int N = 4; uint8_t = unsigned char]':
- C:\Users\austin\Desktop\ProffieOS\common\color.h:155:72: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 155 | template<> inline uint8_t GETBYTEN<4>(const Color8& rgb) { return std::min(rgb.r, std::min(rgb.g, rgb.b)); }
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:155:88: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 155 | template<> inline uint8_t GETBYTEN<4>(const Color8& rgb) { return std::min(rgb.r, std::min(rgb.g, rgb.b)); }
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h: In member function 'uint16_t Color16::select(const Color16&) const':
- C:\Users\austin\Desktop\ProffieOS\common\color.h:223:29: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 223 | if (other.r) ret = std::min<uint32_t>(ret, r * tmp / other.r);
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:223:41: error: expected primary-expression before '>' token
- 223 | if (other.r) ret = std::min<uint32_t>(ret, r * tmp / other.r);
- | ^
- C:\Users\austin\Desktop\ProffieOS\common\color.h:224:29: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 224 | if (other.g) ret = std::min<uint32_t>(ret, g * tmp / other.g);
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:224:41: error: expected primary-expression before '>' token
- 224 | if (other.g) ret = std::min<uint32_t>(ret, g * tmp / other.g);
- | ^
- C:\Users\austin\Desktop\ProffieOS\common\color.h:225:29: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 225 | if (other.b) ret = std::min<uint32_t>(ret, b * tmp / other.b);
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:225:41: error: expected primary-expression before '>' token
- 225 | if (other.b) ret = std::min<uint32_t>(ret, b * tmp / other.b);
- | ^
- C:\Users\austin\Desktop\ProffieOS\common\color.h: In member function 'uint16_t Color16::getShort(int, int)':
- C:\Users\austin\Desktop\ProffieOS\common\color.h:256:27: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 256 | case 4: return std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:256:39: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 256 | case 4: return std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:257:31: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 257 | case 5: return r - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:257:43: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 257 | case 5: return r - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:258:31: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 258 | case 6: return g - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:258:43: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 258 | case 6: return g - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:259:31: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 259 | case 7: return b - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:259:43: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 259 | case 7: return b - std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h: In static member function 'static int Color16::f(int, int, int)':
- C:\Users\austin\Desktop\ProffieOS\common\color.h:275:36: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 275 | return MAX - C * clampi32(std::min(k, 65536 - k), 0, 16384) / 16384;
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h: In member function 'Color16 Color16::rotate(int) const':
- C:\Users\austin\Desktop\ProffieOS\common\color.h:283:20: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 283 | int MAX = std::max(r, std::max(g, b));
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\common\color.h:283:32: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 283 | int MAX = std::max(r, std::max(g, b));
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\common\color.h:284:20: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 284 | int MIN = std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h:284:32: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 284 | int MIN = std::min(r, std::min(g, b));
- | ^~~
- | fmin
- C:\Users\austin\Desktop\ProffieOS\common\color.h: In member function 'HSL Color16::toHSL() const':
- C:\Users\austin\Desktop\ProffieOS\common\color.h:305:20: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 305 | int MAX = std::max(r, std::max(g, b));
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\common\color.h:305:32: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 305 | int MAX = std::max(r, std::max(g, b));
- | ^~~
- | fmax
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:398:
- C:\Users\austin\Desktop\ProffieOS\common\range.h: In member function 'Range Range::operator&(const Range&)':
- C:\Users\austin\Desktop\ProffieOS\common\range.h:15:23: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 15 | return Range(std::max(start, other.start),
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\common\range.h:16:23: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 16 | std::min(end, other.end));
- | ^~~
- | fmin
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:399:
- C:\Users\austin\Desktop\ProffieOS\common\fuse.h: In member function 'virtual void Fusor::Loop()':
- C:\Users\austin\Desktop\ProffieOS\common\fuse.h:110:46: error: 'min' is not a member of 'std'; did you mean 'fmin'?
- 110 | Quat rotation = Quat(1.0, gyro_ * -(std::min(delta_t, 0.01f) * M_PI / 180.0 / 2.0)).normalize();
- | ^~~
- | fmin
- In file included from C:\Users\austin\Desktop\ProffieOS\styles\rgb_arg.h:4,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:425:
- C:\Users\austin\Desktop\ProffieOS\common\arg_parser.h: In member function 'virtual const char* GetMaxArgParser::GetArg(int, const char*, const char*)':
- C:\Users\austin\Desktop\ProffieOS\common\arg_parser.h:131:17: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 131 | max_ = std::max<int>(max_, arg_num + offset_);
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\common\arg_parser.h:131:21: error: expected primary-expression before 'int'
- 131 | max_ = std::max<int>(max_, arg_num + offset_);
- | ^~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:426:
- C:\Users\austin\Desktop\ProffieOS\styles\charging.h: In member function 'virtual void StyleCharging::run(BladeBase*)':
- C:\Users\austin\Desktop\ProffieOS\styles\charging.h:41:50: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 41 | blade->set(i, Color16(Color8().mix(c, std::max(0, 256 - abs(p - i * 32)))));
- | ^~~
- | fmax
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:432:
- C:\Users\austin\Desktop\ProffieOS\styles\audio_flicker.h: At global scope:
- C:\Users\austin\Desktop\ProffieOS\styles\audio_flicker.h:19:33: error: 'NoisySoundLevelCompat' was not declared in this scope
- 19 | using AudioFlickerL = AlphaL<B, NoisySoundLevelCompat>;
- | ^~~~~~~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\audio_flicker.h:19:54: error: template argument 2 is invalid
- 19 | using AudioFlickerL = AlphaL<B, NoisySoundLevelCompat>;
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\audio_flicker.h:22:32: error: 'AudioFlickerL' was not declared in this scope
- 22 | using AudioFlicker = Layers<A, AudioFlickerL<B>>;
- | ^~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\audio_flicker.h:22:46: error: template argument 2 is invalid
- 22 | using AudioFlicker = Layers<A, AudioFlickerL<B>>;
- | ^
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:435:
- C:\Users\austin\Desktop\ProffieOS\styles\rainbow.h: In member function 'SimpleColor Rainbow::getColor(int)':
- C:\Users\austin\Desktop\ProffieOS\styles\rainbow.h:14:20: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 14 | Color16 c(std::max(0, (sin_table[((m * 3 + led * 50)) & 0x3ff] << 2)),
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\styles\rainbow.h:15:20: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 15 | std::max(0, (sin_table[((m * 3 + led * 50 + 1024 / 3)) & 0x3ff] << 2)),
- | ^~~
- | fmax
- C:\Users\austin\Desktop\ProffieOS\styles\rainbow.h:16:20: error: 'max' is not a member of 'std'; did you mean 'fmax'?
- 16 | std::max(0, (sin_table[((m * 3 + led * 50 + 1024 * 2 / 3)) & 0x3ff] << 2)));
- | ^~~
- | fmax
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:445:
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h: At global scope:
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:43:11: error: 'NoisySoundLevel' was not declared in this scope
- 43 | Scale<NoisySoundLevel,Int<5000>,Int<10000>>>,
- | ^~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:43:46: error: template argument 1 is invalid
- 43 | Scale<NoisySoundLevel,Int<5000>,Int<10000>>>,
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:43:48: error: template argument 2 is invalid
- 43 | Scale<NoisySoundLevel,Int<5000>,Int<10000>>>,
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:45:60: error: 'NoisySoundLevel' was not declared in this scope
- 45 | Scale<IsLessThan<SlowNoise<Int<1500>>,Int<8000>>,Scale<NoisySoundLevel,Int<5000>,Int<0>>,Int<0>>>> >
- | ^~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:45:91: error: template argument 1 is invalid
- 45 | Scale<IsLessThan<SlowNoise<Int<1500>>,Int<8000>>,Scale<NoisySoundLevel,Int<5000>,Int<0>>,Int<0>>>> >
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:45:99: error: template argument 2 is invalid
- 45 | Scale<IsLessThan<SlowNoise<Int<1500>>,Int<8000>>,Scale<NoisySoundLevel,Int<5000>,Int<0>>,Int<0>>>> >
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:45:5: error: template argument 2 is invalid
- 45 | Scale<IsLessThan<SlowNoise<Int<1500>>,Int<8000>>,Scale<NoisySoundLevel,Int<5000>,Int<0>>,Int<0>>>> >
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:45:101: error: template argument 2 is invalid
- 45 | Scale<IsLessThan<SlowNoise<Int<1500>>,Int<8000>>,Scale<NoisySoundLevel,Int<5000>,Int<0>>,Int<0>>>> >
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:45:101: error: template argument 3 is invalid
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:99:73: error: template argument 5 is invalid
- 99 | using Lockup = Layers<BASE, LockupL<LOCKUP, DRAG_COLOR, LOCKUP_SHAPE, DRAG_SHAPE>>;
- | ^~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\lockup.h:99:83: error: template argument 2 is invalid
- 99 | using Lockup = Layers<BASE, LockupL<LOCKUP, DRAG_COLOR, LOCKUP_SHAPE, DRAG_SHAPE>>;
- | ^~
- In file included from C:\Users\austin\Desktop\ProffieOS\styles\random_blink.h:15,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:455:
- C:\Users\austin\Desktop\ProffieOS\functions\random_blink.h:28:25: error: 'maxLedsPerStrip' was not declared in this scope
- 28 | unsigned short bits_[(maxLedsPerStrip + 15)/ 16];
- | ^~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\functions\random_blink.h: In member function 'void RandomBlinkF<MILLIHZ>::run(BladeBase*)':
- C:\Users\austin\Desktop\ProffieOS\functions\random_blink.h:19:43: error: 'bits_' was not declared in this scope; did you mean 'bit'?
- 19 | for (size_t i = 0; i < shorts; i++) bits_[i] = rand();
- | ^~~~~
- | bit
- C:\Users\austin\Desktop\ProffieOS\functions\random_blink.h: In member function 'int RandomBlinkF<MILLIHZ>::getInteger(int)':
- C:\Users\austin\Desktop\ProffieOS\functions\random_blink.h:23:13: error: 'bits_' was not declared in this scope; did you mean 'bit'?
- 23 | return (bits_[led>>4] >> (led & 0xf) & 1) * 32768;
- | ^~~~~
- | bit
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:520:
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h: At global scope:
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:10:31: error: 'Lockup' was not declared in this scope; did you mean 'LockupL'?
- 10 | using EasyBlade = SimpleClash<Lockup<Blast<color, WHITE>, AudioFlicker<color, lockup_flicker_color> >, clash_color>;
- | ^~~~~~
- | LockupL
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:10:59: error: 'AudioFlicker' was not declared in this scope; did you mean 'HumpFlicker'?
- 10 | using EasyBlade = SimpleClash<Lockup<Blast<color, WHITE>, AudioFlicker<color, lockup_flicker_color> >, clash_color>;
- | ^~~~~~~~~~~~
- | HumpFlicker
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:10:101: error: template argument 1 is invalid
- 10 | using EasyBlade = SimpleClash<Lockup<Blast<color, WHITE>, AudioFlicker<color, lockup_flicker_color> >, clash_color>;
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:10:101: error: template argument 2 is invalid
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h: In function 'StyleFactory* StyleNormalPtr()':
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:32:25: error: 'AudioFlickerL' was not declared in this scope; did you mean 'HumpFlickerL'?
- 32 | LockupL<AudioFlickerL<lockup_flicker_color> >,
- | ^~~~~~~~~~~~~
- | HumpFlickerL
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:32:59: error: template argument 1 is invalid
- 32 | LockupL<AudioFlickerL<lockup_flicker_color> >,
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:32:59: error: template argument 2 is invalid
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:32:59: error: template argument 5 is invalid
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:32:61: error: template argument 3 is invalid
- 32 | LockupL<AudioFlickerL<lockup_flicker_color> >,
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:32:62: error: expected unqualified-id before ',' token
- 32 | LockupL<AudioFlickerL<lockup_flicker_color> >,
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:33:37: error: invalid declarator before '>' token
- 33 | BlastL<blast_color> > Blade;
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:34:31: error: 'Blade' was not declared in this scope
- 34 | return StylePtr<InOutHelper<Blade, out_millis, in_millis> >();
- | ^~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:34:59: error: template argument 1 is invalid
- 34 | return StylePtr<InOutHelper<Blade, out_millis, in_millis> >();
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h: In function 'StyleFactory* StyleNormalPtrX()':
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:46:11: error: 'AudioFlicker' does not name a type; did you mean 'HumpFlicker'?
- 46 | typedef AudioFlicker<base_color, lockup_flicker_color> AddFlicker;
- | ^~~~~~~~~~~~
- | HumpFlicker
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:48:11: error: 'Lockup' does not name a type; did you mean 'LockupL'?
- 48 | typedef Lockup<AddBlast, AddFlicker> AddLockup;
- | ^~~~~~
- | LockupL
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:49:23: error: 'AddLockup' was not declared in this scope
- 49 | typedef SimpleClash<AddLockup, clash_color> AddClash;
- | ^~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:49:45: error: template argument 1 is invalid
- 49 | typedef SimpleClash<AddLockup, clash_color> AddClash;
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h: In function 'StyleFactory* StyleRainbowPtr()':
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:60:11: error: 'AudioFlicker' does not name a type; did you mean 'HumpFlicker'?
- 60 | typedef AudioFlicker<Rainbow, lockup_flicker_color> AddFlicker;
- | ^~~~~~~~~~~~
- | HumpFlicker
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:61:11: error: 'Lockup' does not name a type; did you mean 'LockupL'?
- 61 | typedef Lockup<Rainbow, AddFlicker> AddLockup;
- | ^~~~~~
- | LockupL
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:62:23: error: 'AddLockup' was not declared in this scope
- 62 | typedef SimpleClash<AddLockup, clash_color> AddClash;
- | ^~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:62:45: error: template argument 1 is invalid
- 62 | typedef SimpleClash<AddLockup, clash_color> AddClash;
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h: In function 'StyleFactory* StyleRainbowPtrX()':
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:73:11: error: 'AudioFlicker' does not name a type; did you mean 'HumpFlicker'?
- 73 | typedef AudioFlicker<Rainbow, lockup_flicker_color> AddFlicker;
- | ^~~~~~~~~~~~
- | HumpFlicker
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:74:11: error: 'Lockup' does not name a type; did you mean 'LockupL'?
- 74 | typedef Lockup<Rainbow, AddFlicker> AddLockup;
- | ^~~~~~
- | LockupL
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:75:23: error: 'AddLockup' was not declared in this scope
- 75 | typedef SimpleClash<AddLockup, clash_color> AddClash;
- | ^~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:75:45: error: template argument 1 is invalid
- 75 | typedef SimpleClash<AddLockup, clash_color> AddClash;
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h: In function 'StyleFactory* StyleStrobePtr()':
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:89:11: error: 'Lockup' does not name a type; did you mean 'LockupL'?
- 89 | typedef Lockup<strobe, fast_strobe> AddLockup;
- | ^~~~~~
- | LockupL
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:90:23: error: 'AddLockup' was not declared in this scope
- 90 | typedef SimpleClash<AddLockup, clash_color> clash;
- | ^~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:90:45: error: template argument 1 is invalid
- 90 | typedef SimpleClash<AddLockup, clash_color> clash;
- | ^
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:522:
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h: At global scope:
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:73:25: error: 'NoisySoundLevel' was not declared in this scope
- 73 | Scale<NoisySoundLevel,Scale<TwistAngle<>,Int<6000>,Int<10000>>,Scale<TwistAngle<>,Int<10000>,Int<14000>>>>,
- | ^~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:73:82: error: template argument 1 is invalid
- 73 | Scale<NoisySoundLevel,Scale<TwistAngle<>,Int<6000>,Int<10000>>,Scale<TwistAngle<>,Int<10000>,Int<14000>>>>,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:73:123: error: template argument 2 is invalid
- 73 | Scale<NoisySoundLevel,Scale<TwistAngle<>,Int<6000>,Int<10000>>,Scale<TwistAngle<>,Int<10000>,Int<14000>>>>,
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:75:75: error: 'NoisySoundLevel' was not declared in this scope
- 75 | Scale<IsLessThan<SlowNoise<Int<2000>>,Int<12000>>,Scale<NoisySoundLevel,Scale<TwistAngle<>,Int<9000>,Int<5000>>,Int<0>>,Int<0>>>>>,
- | ^~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:75:136: error: template argument 1 is invalid
- 75 | Scale<IsLessThan<SlowNoise<Int<2000>>,Int<12000>>,Scale<NoisySoundLevel,Scale<TwistAngle<>,Int<9000>,Int<5000>>,Int<0>>,Int<0>>>>>,
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:75:144: error: template argument 2 is invalid
- 75 | Scale<IsLessThan<SlowNoise<Int<2000>>,Int<12000>>,Scale<NoisySoundLevel,Scale<TwistAngle<>,Int<9000>,Int<5000>>,Int<0>>,Int<0>>>>>,
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:75:19: error: template argument 2 is invalid
- 75 | Scale<IsLessThan<SlowNoise<Int<2000>>,Int<12000>>,Scale<NoisySoundLevel,Scale<TwistAngle<>,Int<9000>,Int<5000>>,Int<0>>,Int<0>>>>>,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:75:146: error: template argument 2 is invalid
- 75 | Scale<IsLessThan<SlowNoise<Int<2000>>,Int<12000>>,Scale<NoisySoundLevel,Scale<TwistAngle<>,Int<9000>,Int<5000>>,Int<0>>,Int<0>>>>>,
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:75:146: error: template argument 3 is invalid
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:75:148: error: template argument 2 is invalid
- 75 | Scale<IsLessThan<SlowNoise<Int<2000>>,Int<12000>>,Scale<NoisySoundLevel,Scale<TwistAngle<>,Int<9000>,Int<5000>>,Int<0>>,Int<0>>>>>,
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\responsive_styles.h:78:38: error: template argument 1 is invalid
- 78 | SaberBase::LOCKUP_LIGHTNING_BLOCK>;
- | ^
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:542:
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:55:11: error: 'Lockup' was not declared in this scope; did you mean 'LockupL'?
- 55 | Lockup<
- | ^~~~~~
- | LockupL
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:65:13: error: 'AudioFlicker' was not declared in this scope; did you mean 'HumpFlicker'?
- 65 | AudioFlicker<RgbArg<7, Magenta>, White>
- | ^~~~~~~~~~~~
- | HumpFlicker
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:66:11: error: template argument 1 is invalid
- 66 | >,
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:66:11: error: template argument 2 is invalid
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:69:9: error: template argument 1 is invalid
- 69 | >,
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:69:9: error: type/value mismatch at argument 3 in template parameter list for 'template<class T, class EXTENSION, class SPARK_COLOR, class OFF_COLOR, bool ALLOW_DISABLE> class InOutSparkTipX'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:69:9: note: expected a type, got '40'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:73:7: error: expected primary-expression before ')' token
- 73 | >(),
- | ^
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:542:
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:81:42: error: 'Lockup' was not declared in this scope; did you mean 'LockupL'?
- 81 | StylePtr<InOutHelperX<LocalizedClash<Lockup<Blast<OnSpark<BrownNoiseFlicker<Strobe<RgbArg<1, Rgb<150, 0, 0>>,Sparkle<RgbArg<3, Rgb<255,40,0>>, RgbArg<4, Rgb<255,255,10>>,100,1024>,100,50>,Strobe<RgbArg<2, Red>,RgbArg<1, Rgb<150, 0, 0>>,50,5>,100>,White,100>,White,200,100,400>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>>,White,60,100>,InOutFuncX<IntArg<5, 100>,IntArg<6, 200>>,Black>>(),
- | ^~~~~~
- | LockupL
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:542:
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:81:282: error: 'AudioFlicker' was not declared in this scope; did you mean 'HumpFlicker'?
- 81 | StylePtr<InOutHelperX<LocalizedClash<Lockup<Blast<OnSpark<BrownNoiseFlicker<Strobe<RgbArg<1, Rgb<150, 0, 0>>,Sparkle<RgbArg<3, Rgb<255,40,0>>, RgbArg<4, Rgb<255,255,10>>,100,1024>,100,50>,Strobe<RgbArg<2, Red>,RgbArg<1, Rgb<150, 0, 0>>,50,5>,100>,White,100>,White,200,100,400>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>>,White,60,100>,InOutFuncX<IntArg<5, 100>,IntArg<6, 200>>,Black>>(),
- | ^~~~~~~~~~~~
- | HumpFlicker
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:81:522: error: template argument 1 is invalid
- 81 | StylePtr<InOutHelperX<LocalizedClash<Lockup<Blast<OnSpark<BrownNoiseFlicker<Strobe<RgbArg<1, Rgb<150, 0, 0>>,Sparkle<RgbArg<3, Rgb<255,40,0>>, RgbArg<4, Rgb<255,255,10>>,100,1024>,100,50>,Strobe<RgbArg<2, Red>,RgbArg<1, Rgb<150, 0, 0>>,50,5>,100>,White,100>,White,200,100,400>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>>,White,60,100>,InOutFuncX<IntArg<5, 100>,IntArg<6, 200>>,Black>>(),
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:81:522: error: template argument 2 is invalid
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:81:537: error: template argument 1 is invalid
- 81 | StylePtr<InOutHelperX<LocalizedClash<Lockup<Blast<OnSpark<BrownNoiseFlicker<Strobe<RgbArg<1, Rgb<150, 0, 0>>,Sparkle<RgbArg<3, Rgb<255,40,0>>, RgbArg<4, Rgb<255,255,10>>,100,1024>,100,50>,Strobe<RgbArg<2, Red>,RgbArg<1, Rgb<150, 0, 0>>,50,5>,100>,White,100>,White,200,100,400>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>>,White,60,100>,InOutFuncX<IntArg<5, 100>,IntArg<6, 200>>,Black>>(),
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:81:537: error: type/value mismatch at argument 3 in template parameter list for 'template<class T, class EXTENSION, class OFF_COLOR, bool ALLOW_DISABLE> using InOutHelperX = Layers<T, AlphaL<OFF_COLOR, InOutHelperF<EXTENSION, ALLOW_DISABLE> > >'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:81:537: note: expected a type, got '60'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:81:589: error: expected primary-expression before ')' token
- 81 | StylePtr<InOutHelperX<LocalizedClash<Lockup<Blast<OnSpark<BrownNoiseFlicker<Strobe<RgbArg<1, Rgb<150, 0, 0>>,Sparkle<RgbArg<3, Rgb<255,40,0>>, RgbArg<4, Rgb<255,255,10>>,100,1024>,100,50>,Strobe<RgbArg<2, Red>,RgbArg<1, Rgb<150, 0, 0>>,50,5>,100>,White,100>,White,200,100,400>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>,AudioFlicker<OnSpark<BrownNoiseFlicker<Strobe<Black,Yellow,50,1>,Strobe<RgbArg<2, Red>,Black,50,1>,50>,White,200>,White>>,White,60,100>,InOutFuncX<IntArg<5, 100>,IntArg<6, 200>>,Black>>(),
- | ^
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:542:
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:90:9: error: 'AudioFlicker' was not declared in this scope; did you mean 'HumpFlicker'?
- 90 | AudioFlicker<RgbArg<3, Cyan>, RgbArg<2, Blue>>,
- | ^~~~~~~~~~~~
- | HumpFlicker
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:90:53: error: template argument 1 is invalid
- 90 | AudioFlicker<RgbArg<3, Cyan>, RgbArg<2, Blue>>,
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:92:64: error: template argument 5 is invalid
- 92 | LockupL<HumpFlicker<RgbArg<5, Red>, RgbArg<3, Cyan>,100>>,
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:93:27: error: template argument 4 is invalid
- 93 | SimpleClashL<White>>,
- | ^~
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:93:27: error: type/value mismatch at argument 5 in template parameter list for 'template<class COLOR, int percentage, int rpm, class ON_COLOR, int on_percentage, int on_rpm, int fade_time_millis, class OFF_COLOR> class ColorCycle'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:93:27: note: expected a constant of type 'int', got 'BlastL<RgbArg<4, Rgb<255, 50, 50> > >' {aka 'AlphaL<RgbArg<4, Rgb<255, 50, 50> >, BlastF<200, 100, 400, EffectType::EFFECT_BLAST> >'}
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:93:27: error: template argument 6 is invalid
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:93:27: error: type/value mismatch at argument 7 in template parameter list for 'template<class COLOR, int percentage, int rpm, class ON_COLOR, int on_percentage, int on_rpm, int fade_time_millis, class OFF_COLOR> class ColorCycle'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:93:27: note: expected a constant of type 'int', got 'SimpleClashL<Rgb<255, 255, 255> >'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:94:23: error: expected primary-expression before ')' token
- 94 | 100,2000,1000>>(),
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h: In member function 'virtual bool StyleParser::Parse(const char*, const char*)':
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:376:26: error: 'NUM_BLADES' was not declared in this scope; did you mean 'NO_BLADE'?
- 376 | for (size_t j = 1; j <= NUM_BLADES; j++) {
- | ^~~~~~~~~~
- | NO_BLADE
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:564:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h: At global scope:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h:16:6: error: multiple definition of 'enum SaberPins'
- 16 | enum SaberPins {
- | ^~~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:56:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h:16:6: note: previous definition here
- 16 | enum SaberPins {
- | ^~~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:568:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h:16:6: error: multiple definition of 'enum SaberPins'
- 16 | enum SaberPins {
- | ^~~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:56:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h:16:6: note: previous definition here
- 16 | enum SaberPins {
- | ^~~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\props\saber.h:30,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:572:
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:20:47: error: expected class-name before '{' token
- 20 | class SaveGlobalStateFile : public ConfigFile {
- | ^
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:22:25: error: 'VariableOP' has not been declared
- 22 | void iterateVariables(VariableOP *op) override {
- | ^~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:22:8: error: 'void SaveGlobalStateFile::iterateVariables(int*)' marked 'override', but does not override
- 22 | void iterateVariables(VariableOP *op) override {
- | ^~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:44:47: error: expected class-name before '{' token
- 44 | class SavePresetStateFile : public ConfigFile {
- | ^
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:46:25: error: 'VariableOP' has not been declared
- 46 | void iterateVariables(VariableOP *op) override {
- | ^~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:46:8: error: 'void SavePresetStateFile::iterateVariables(int*)' marked 'override', but does not override
- 46 | void iterateVariables(VariableOP *op) override {
- | ^~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In member function 'void SavePresetStateFile::iterateVariables(int*)':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:47:5: error: 'CONFIG_VARIABLE2' was not declared in this scope; did you mean 'CONFIG_FILE'?
- 47 | CONFIG_VARIABLE2(preset, 0);
- | ^~~~~~~~~~~~~~~~
- | CONFIG_FILE
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: At global scope:
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:62:3: error: 'Effect' does not name a type
- 62 | Effect* effect_;
- | ^~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:67:21: error: expected ')' before '*' token
- 67 | SoundToPlay(Effect* effect, int selection = -1) : filename_(nullptr), effect_(effect), selection_(selection) {}
- | ~ ^
- | )
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:68:13: error: 'BufferedWavPlayer' has not been declared
- 68 | bool Play(BufferedWavPlayer* player) {
- | ^~~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In constructor 'SoundToPlay::SoundToPlay()':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:65:38: error: class 'SoundToPlay' does not have any field named 'effect_'
- 65 | SoundToPlay() :filename_(nullptr), effect_(nullptr) {}
- | ^~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In member function 'bool SoundToPlay::Play(int*)':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:69:36: error: request for member 'PlayInCurrentDir' in '* player', which is of non-class type 'int'
- 69 | if (filename_) return player->PlayInCurrentDir(filename_);
- | ^~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:70:6: error: 'effect_' was not declared in this scope
- 70 | effect_->Select(selection_);
- | ^~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:71:14: error: request for member 'PlayOnce' in '* player', which is of non-class type 'int'
- 71 | player->PlayOnce(effect_);
- | ^~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In member function 'bool SoundToPlay::isSet()':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:75:38: error: 'effect_' was not declared in this scope
- 75 | return filename_ != nullptr || effect_ != nullptr;
- | ^~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: At global scope:
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:93:30: error: 'BufferedWavPlayer' was not declared in this scope
- 93 | void PollSoundQueue(RefPtr<BufferedWavPlayer>& player) {
- | ^~~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:93:47: error: template argument 1 is invalid
- 93 | void PollSoundQueue(RefPtr<BufferedWavPlayer>& player) {
- | ^
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In member function 'void SoundQueue<QueueLength>::PollSoundQueue(int&)':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:94:40: error: base operand of '->' is not a pointer
- 94 | if (sounds_ && (!player || !player->isPlaying())) {
- | ^~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:96:18: error: there are no arguments to 'GetFreeWavPlayer' that depend on a template parameter, so a declaration of 'GetFreeWavPlayer' must be available [-fpermissive]
- 96 | player = GetFreeWavPlayer();
- | ^~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:96:18: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:98:8: error: base operand of '->' is not a pointer
- 98 | player->set_volume_now(1.0f);
- | ^~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:100:29: error: request for member 'get' in 'player', which is of non-class type 'int'
- 100 | queue_[0].Play(player.get());
- | ^~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In member function 'float PropBase::GetCurrentClashThreshold()':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:223:45: error: 'CLASH_THRESHOLD_G' was not declared in this scope
- 223 | float GetCurrentClashThreshold() { return CLASH_THRESHOLD_G; }
- | ^~~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In member function 'void PropBase::FindBlade()':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:557:15: error: 'blades' was not declared in this scope; did you mean 'bladePin'?
- 557 | if (NELEM(blades) > 1) {
- | ^~~~~~
- C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:300:26: note: in definition of macro 'NELEM'
- 300 | #define NELEM(X) (sizeof(X)/sizeof((X)[0]))
- | ^
- In file included from C:\Users\austin\Desktop\ProffieOS\props\saber.h:30,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:572:
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:571:22: error: 'blades' was not declared in this scope; did you mean 'bladePin'?
- 571 | current_config = blades + best_config;
- | ^~~~~~
- | bladePin
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In member function 'void PropBase::ResumePreset()':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:602:16: error: 'class SavePresetStateFile' has no member named 'ReadINIFromSaveDir'
- 602 | savestate_.ReadINIFromSaveDir("curstate");
- | ^~~~~~~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In member function 'void PropBase::WriteState(const char*)':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:632:16: error: 'class SavePresetStateFile' has no member named 'Write'
- 632 | savestate_.Write(fn);
- | ^~~~~
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h: In member function 'virtual void PropBase::DoAccel(const Vec3&, bool)':
- C:\Users\austin\Desktop\ProffieOS\props\prop_base.h:722:13: error: 'CLASH_THRESHOLD_G' was not declared in this scope
- 722 | if (v > CLASH_THRESHOLD_G + fusor.gyro().len() / 200.0) {
- | ^~~~~~~~~~~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:607:
- C:\Users\austin\Desktop\ProffieOS\buttons\pots.h: In member function 'virtual void ChangeVolumeAnalogReceiver::Set(float)':
- C:\Users\austin\Desktop\ProffieOS\buttons\pots.h:20:5: error: 'dynamic_mixer' was not declared in this scope
- 20 | dynamic_mixer.set_volume(VOLUME * value);
- | ^~~~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\buttons\pots.h:20:30: error: 'VOLUME' was not declared in this scope
- 20 | dynamic_mixer.set_volume(VOLUME * value);
- | ^~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:630:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h: At global scope:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h:16:6: error: multiple definition of 'enum SaberPins'
- 16 | enum SaberPins {
- | ^~~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:56:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h:16:6: note: previous definition here
- 16 | enum SaberPins {
- | ^~~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:638:
- C:\Users\austin\Desktop\ProffieOS\common\sd_test.h: In member function 'void SDTestHelper::TestFont()':
- C:\Users\austin\Desktop\ProffieOS\common\sd_test.h:97:10: error: 'Effect' was not declared in this scope
- 97 | for (Effect* effect = all_effects; effect; effect = effect->next_) {
- | ^~~~~~
- C:\Users\austin\Desktop\ProffieOS\common\sd_test.h:97:18: error: 'effect' was not declared in this scope
- 97 | for (Effect* effect = all_effects; effect; effect = effect->next_) {
- | ^~~~~~
- C:\Users\austin\Desktop\ProffieOS\common\sd_test.h:97:27: error: 'all_effects' was not declared in this scope
- 97 | for (Effect* effect = all_effects; effect; effect = effect->next_) {
- | ^~~~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\common\sd_test.h:99:2: error: 'Effect' is not a class, namespace, or enumeration
- 99 | Effect::FileID file_id(effect, i);
- | ^~~~~~
- C:\Users\austin\Desktop\ProffieOS\common\sd_test.h:100:2: error: 'file_id' was not declared in this scope
- 100 | file_id.GetName(filename_);
- | ^~~~~~~
- C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino: In member function 'virtual bool Commands::Parse(const char*, const char*)':
- ProffieOS:819:7: error: 'Effect' has not been declared
- 819 | Effect::ShowAll();
- | ^~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:1529:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h: At global scope:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h:16:6: error: multiple definition of 'enum SaberPins'
- 16 | enum SaberPins {
- | ^~~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:56:
- C:\Users\austin\Desktop\ProffieOS\config\proffieboard_v2_config.h:16:6: note: previous definition here
- 16 | enum SaberPins {
- | ^~~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\styles\sparkle.h:15,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:428:
- C:\Users\austin\Desktop\ProffieOS\styles\layers.h: In instantiation of 'class Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > >':
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:71:43: required from 'class Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > > >'
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:95:10: required from 'StyleFactory* StylePtr() [with STYLE = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > >]'
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:50:78: required from 'StyleFactory* StyleNormalPtrX() [with base_color = RgbArg<1, Rgb<0, 255, 255> >; clash_color = RgbArg<2, Rgb<255, 255, 255> >; out_millis = SingleValueAdapter<IntArgSVF<3, 300> >; in_millis = SingleValueAdapter<IntArgSVF<4, 800> >; lockup_flicker_color = Rgb<255, 255, 255>; blast_color = Rgb<255, 255, 255>]'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:47:100: required from here
- C:\Users\austin\Desktop\ProffieOS\styles\layers.h:41:44: error: request for member 'getColor' in '((Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > >*)this)->Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > >::base_', which is of non-class type 'int'
- 41 | auto getColor(int led) -> decltype(base_.getColor(led) << layer_.getColor(led)) {
- | ~~~~~~^~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\styles\fire.h:4,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:427:
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h: In instantiation of 'class Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > > >':
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:95:10: required from 'StyleFactory* StylePtr() [with STYLE = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > >]'
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:50:78: required from 'StyleFactory* StyleNormalPtrX() [with base_color = RgbArg<1, Rgb<0, 255, 255> >; clash_color = RgbArg<2, Rgb<255, 255, 255> >; out_millis = SingleValueAdapter<IntArgSVF<3, 300> >; in_millis = SingleValueAdapter<IntArgSVF<4, 800> >; lockup_flicker_color = Rgb<255, 255, 255>; blast_color = Rgb<255, 255, 255>]'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:47:100: required from here
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:71:47: error: 'class Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > >' has no member named 'getColor'
- 71 | class Style : public StyleHelper<decltype(T().getColor(0))> {
- | ~~~~^~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:77:49: error: 'class Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > >' has no member named 'getColor'
- 77 | virtual auto getColor2(int i) -> decltype(T().getColor(0)) override {
- | ~~~~^~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:73:8: error: 'bool Style<T>::IsHandled(HandledFeature) [with T = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > >]' marked 'override', but does not override
- 73 | bool IsHandled(HandledFeature effect) override {
- | ^~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:81:8: error: 'void Style<T>::run(BladeBase*) [with T = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > >]' marked 'override', but does not override
- 81 | void run(BladeBase* blade) override {
- | ^~~
- In file included from C:\Users\austin\Desktop\ProffieOS\styles\sparkle.h:15,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:428:
- C:\Users\austin\Desktop\ProffieOS\styles\layers.h: In instantiation of 'class Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > >':
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:71:43: required from 'class Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > > >'
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:95:10: required from 'StyleFactory* StylePtr() [with STYLE = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > >]'
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:50:78: required from 'StyleFactory* StyleNormalPtrX() [with base_color = Layers<RgbArg<1, Rgb<0, 0, 0> >, AlphaL<RgbArg<2, Rgb<255, 255, 255> >, StrobeF<SingleValueAdapter<IntArgSVF<3, 15> >, SingleValueAdapter<IntArgSVF<4, 1> > > > >; clash_color = Rainbow; out_millis = SingleValueAdapter<IntArgSVF<5, 300> >; in_millis = SingleValueAdapter<IntArgSVF<6, 800> >; lockup_flicker_color = Rgb<255, 255, 255>; blast_color = Rgb<255, 255, 255>]'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:85:136: required from here
- C:\Users\austin\Desktop\ProffieOS\styles\layers.h:41:44: error: request for member 'getColor' in '((Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > >*)this)->Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > >::base_', which is of non-class type 'int'
- 41 | auto getColor(int led) -> decltype(base_.getColor(led) << layer_.getColor(led)) {
- | ~~~~~~^~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\styles\fire.h:4,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:427:
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h: In instantiation of 'class Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > > >':
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:95:10: required from 'StyleFactory* StylePtr() [with STYLE = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > >]'
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:50:78: required from 'StyleFactory* StyleNormalPtrX() [with base_color = Layers<RgbArg<1, Rgb<0, 0, 0> >, AlphaL<RgbArg<2, Rgb<255, 255, 255> >, StrobeF<SingleValueAdapter<IntArgSVF<3, 15> >, SingleValueAdapter<IntArgSVF<4, 1> > > > >; clash_color = Rainbow; out_millis = SingleValueAdapter<IntArgSVF<5, 300> >; in_millis = SingleValueAdapter<IntArgSVF<6, 800> >; lockup_flicker_color = Rgb<255, 255, 255>; blast_color = Rgb<255, 255, 255>]'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:85:136: required from here
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:71:47: error: 'class Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > >' has no member named 'getColor'
- 71 | class Style : public StyleHelper<decltype(T().getColor(0))> {
- | ~~~~^~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:77:49: error: 'class Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > >' has no member named 'getColor'
- 77 | virtual auto getColor2(int i) -> decltype(T().getColor(0)) override {
- | ~~~~^~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:73:8: error: 'bool Style<T>::IsHandled(HandledFeature) [with T = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > >]' marked 'override', but does not override
- 73 | bool IsHandled(HandledFeature effect) override {
- | ^~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:81:8: error: 'void Style<T>::run(BladeBase*) [with T = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > >]' marked 'override', but does not override
- 81 | void run(BladeBase* blade) override {
- | ^~~
- In file included from C:\Users\austin\Desktop\ProffieOS\styles\sparkle.h:15,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:428:
- C:\Users\austin\Desktop\ProffieOS\styles\layers.h: In instantiation of 'class Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > >':
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:71:43: required from 'class Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > > >'
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:95:10: required from 'StyleFactory* StylePtr() [with STYLE = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > >]'
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:76:78: required from 'StyleFactory* StyleRainbowPtrX() [with out_millis = SingleValueAdapter<IntArgSVF<1, 300> >; in_millis = SingleValueAdapter<IntArgSVF<2, 800> >; clash_color = Rgb<255, 255, 255>; lockup_flicker_color = Rgb<255, 255, 255>]'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:97:65: required from here
- C:\Users\austin\Desktop\ProffieOS\styles\layers.h:41:44: error: request for member 'getColor' in '((Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > >*)this)->Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > >::base_', which is of non-class type 'int'
- 41 | auto getColor(int led) -> decltype(base_.getColor(led) << layer_.getColor(led)) {
- | ~~~~~~^~~~~~~~
- In file included from C:\Users\austin\Desktop\ProffieOS\styles\fire.h:4,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:427:
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h: In instantiation of 'class Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > > >':
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:95:10: required from 'StyleFactory* StylePtr() [with STYLE = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > >]'
- C:\Users\austin\Desktop\ProffieOS\styles\legacy_styles.h:76:78: required from 'StyleFactory* StyleRainbowPtrX() [with out_millis = SingleValueAdapter<IntArgSVF<1, 300> >; in_millis = SingleValueAdapter<IntArgSVF<2, 800> >; clash_color = Rgb<255, 255, 255>; lockup_flicker_color = Rgb<255, 255, 255>]'
- C:\Users\austin\Desktop\ProffieOS\styles\style_parser.h:97:65: required from here
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:71:47: error: 'class Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > >' has no member named 'getColor'
- 71 | class Style : public StyleHelper<decltype(T().getColor(0))> {
- | ~~~~^~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:77:49: error: 'class Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > >' has no member named 'getColor'
- 77 | virtual auto getColor2(int i) -> decltype(T().getColor(0)) override {
- | ~~~~^~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:73:8: error: 'bool Style<T>::IsHandled(HandledFeature) [with T = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > >]' marked 'override', but does not override
- 73 | bool IsHandled(HandledFeature effect) override {
- | ^~~~~~~~~
- C:\Users\austin\Desktop\ProffieOS\styles\style_ptr.h:81:8: error: 'void Style<T>::run(BladeBase*) [with T = Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > >]' marked 'override', but does not override
- 81 | void run(BladeBase* blade) override {
- | ^~~
- In file included from C:\Users\austin\Desktop\ProffieOS\blades\blade_base.h:18,
- from C:\Users\austin\Desktop\ProffieOS\ProffieOS.ino:400:
- C:\Users\austin\Desktop\ProffieOS\styles\blade_style.h: In instantiation of 'BladeStyle* StyleFactoryImpl<STYLE>::make() [with STYLE = Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > > >]':
- C:\Users\austin\Desktop\ProffieOS\styles\blade_style.h:44:15: required from here
- C:\Users\austin\Desktop\ProffieOS\styles\blade_style.h:46:22: error: cannot convert 'Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<1, 300> >, SingleValueAdapter<IntArgSVF<2, 800> > >, true> > > >*' to 'BladeStyle*' in return
- 46 | return new STYLE();
- | ^
- C:\Users\austin\Desktop\ProffieOS\styles\blade_style.h: In instantiation of 'BladeStyle* StyleFactoryImpl<STYLE>::make() [with STYLE = Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > > >]':
- C:\Users\austin\Desktop\ProffieOS\styles\blade_style.h:44:15: required from here
- C:\Users\austin\Desktop\ProffieOS\styles\blade_style.h:46:22: error: cannot convert 'Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<5, 300> >, SingleValueAdapter<IntArgSVF<6, 800> > >, true> > > >*' to 'BladeStyle*' in return
- C:\Users\austin\Desktop\ProffieOS\styles\blade_style.h: In instantiation of 'BladeStyle* StyleFactoryImpl<STYLE>::make() [with STYLE = Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > > >]':
- C:\Users\austin\Desktop\ProffieOS\styles\blade_style.h:44:15: required from here
- C:\Users\austin\Desktop\ProffieOS\styles\blade_style.h:46:22: error: cannot convert 'Style<Layers<int, AlphaL<Rgb<0, 0, 0>, InOutHelperF<InOutFuncX<SingleValueAdapter<IntArgSVF<3, 300> >, SingleValueAdapter<IntArgSVF<4, 800> > >, true> > > >*' to 'BladeStyle*' in return
- Using library Wire at version 1.0 in folder: C:\Users\austin\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\3.6.0\libraries\Wire
- exit status 1
- 'Effect' has not been declared
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement