mirror of https://github.com/ArduPilot/ardupilot
e9fc99b1bf
fixes compilation problem with gcc 10.3 ../../libraries/AP_HAL_ChibiOS/SPIDevice.cpp: In static member function 'static void ChibiOS::SPIDeviceManager::__static_initialization_and_destruction_0(int, int)': ../../libraries/AP_HAL_ChibiOS/SPIDevice.cpp:76:18: error: statement has no effect [-Werror=unused-value] 76 | ChibiOS::SPIDesc SPIDeviceManager::device_table[] = { HAL_SPI_DEVICE_LIST }; | ^~~~~~~~~~~~~~~~ compilation terminated due to -Wfatal-errors. cc1plus: some warnings being treated as errors |
||
---|---|---|
.. | ||
hwdef | ||
AP_HAL_ChibiOS.h | ||
AP_HAL_ChibiOS_Namespace.h | ||
AP_HAL_ChibiOS_Private.h | ||
AnalogIn.cpp | ||
AnalogIn.h | ||
CANFDIface.cpp | ||
CANFDIface.h | ||
CANIface.h | ||
CanIface.cpp | ||
DSP.cpp | ||
DSP.h | ||
Device.cpp | ||
Device.h | ||
EventSource.cpp | ||
EventSource.h | ||
Flash.h | ||
GPIO.cpp | ||
GPIO.h | ||
HAL_ChibiOS_Class.cpp | ||
HAL_ChibiOS_Class.h | ||
I2CDevice.cpp | ||
I2CDevice.h | ||
LogStructure.h | ||
RCInput.cpp | ||
RCInput.h | ||
RCOutput.cpp | ||
RCOutput.h | ||
RCOutput_bdshot.cpp | ||
RCOutput_iofirmware.cpp | ||
RCOutput_serial.cpp | ||
SPIDevice.cpp | ||
SPIDevice.h | ||
Scheduler.cpp | ||
Scheduler.h | ||
Semaphores.cpp | ||
Semaphores.h | ||
SoftSigReader.cpp | ||
SoftSigReader.h | ||
SoftSigReaderInt.cpp | ||
SoftSigReaderInt.h | ||
Storage.cpp | ||
Storage.h | ||
UARTDriver.cpp | ||
UARTDriver.h | ||
Util.cpp | ||
Util.h | ||
WSPIDevice.cpp | ||
WSPIDevice.h | ||
bxcan.hpp | ||
sdcard.cpp | ||
sdcard.h | ||
shared_dma.cpp | ||
shared_dma.h | ||
stdio.cpp | ||
system.cpp |