vanvught / rpidmx512

Orange Pi DMX512 / RDM / MIDI / OSC / Art-Net / WS28xx / L6470 / Stepper / TLC59711 / PCA9685 / Servo / PWM / TCNet / SMPTE / RDMNet / LLRP / GD32 / GigaDevice / Raspberry Pi
http://www.orangepi-dmx.org/
MIT License
398 stars 108 forks source link

Build H3 workflow run failed #233

Closed vanvught closed 2 years ago

vanvught commented 2 years ago
22-02-11T13:40:11.5115468Z arm-none-eabi-g++ -DBARE_METAL -DH3 -DORANGE_PI  -DNDEBUG -D_TIME_STAMP_YEAR_=2022 -D_TIME_STAMP_MONTH_=2 -D_TIME_STAMP_DAY_=11 -DENABLE_TFTP_SERVER -DREMOTE_CONFIG -DNODE_LTC_SMPTE -DNODE_RDMNET_LLRP_ONLY -DARM_ALLOW_MULTI_CORE -DNODE_ARTNET -DARTNET_VERSION=3 -DENABLE_HTTPD -DENABLE_CONTENT -DNDEBUG -DENABLE_SSD1311 -DENABLE_TC1602 -DENABLE_CURSOR_MODE -D_TIME_STAMP_YEAR_=2022 -D_TIME_STAMP_MONTH_=2 -D_TIME_STAMP_DAY_=11 -DENABLE_TFTP_SERVER -I./include -I../include -I../lib-hal/include -I../lib-debug/include -I../lib-h3/include -I../lib-h3/include/firmware -I../lib-arm/include  -I../lib-display/include -I../lib-artnet/include -I../lib-tcnet/include -I../lib-midi/include -I../lib-ws28xxdisplay/include -I../lib-ws28xx/include -I../lib-rgbpanel/include -I../lib-device/include -I../lib-hal/include -I../lib-network/include -I../lib-properties/include -I../lib-lightset/include -mfpu=neon-vfpv4 -mcpu=cortex-a7 -mfloat-abi=hard -mhard-float -nostartfiles -ffreestanding -nostdlib -fprefetch-loop-arrays -O2 -Wall -Werror -Wextra -Wpedantic -Wunused -Wsign-conversion -Wconversion  -Wduplicated-cond -Wlogical-op  -ffunction-sections -fdata-sections -std=c++11 -Wuseless-cast -Wold-style-cast -Wnon-virtual-dtor -Woverloaded-virtual -Wnull-dereference -fno-rtti -fno-exceptions -fno-unwind-tables -fno-threadsafe-statics  -c src/ltcetc.cpp -o build_h3/src/ltcetc.o
2022-02-11T13:40:11.5379276Z src/ltcetc.cpp: In member function 'void LtcEtc::Send(const midi::Timecode*)':
2022-02-11T13:40:11.5380908Z src/ltcetc.cpp:144:12: error: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Werror=conversion]
2022-02-11T13:40:11.5381841Z   144 |    nLength +=2;
2022-02-11T13:40:11.5382256Z       |    ~~~~~~~~^~~
2022-02-11T13:40:11.5383346Z src/ltcetc.cpp: In member function 'void LtcEtc::ParseTimeCode()':
2022-02-11T13:40:11.5384166Z src/ltcetc.cpp:232:25: error: conversion from 'int' to 'uint8_t' {aka 'unsigned char'} may change value [-Werror=conversion]
2022-02-11T13:40:11.5384980Z   232 |   timeCode.nType = data >> 5;
2022-02-11T13:40:11.5385746Z       |                    ~~~~~^~~~