Browse Source
This was introduced with the HAL rework: In file included from /p/ardupilot/libraries/AP_HAL/AP_HAL.h:11:0, from /p/ardupilot/ArduCopter/Copter.h:35, from /p/ardupilot/ArduCopter/ArduCopter.cpp:76: /p/ardupilot/ArduCopter/ArduCopter.cpp: In function 'int ArduPilot_main(int, char* const*)': /p/ardupilot/libraries/AP_HAL/AP_HAL_Main.h:11:26: warning: no previous declaration for 'int ArduPilot_main(int, char* const*)' [-Wmissing-declarations] #define AP_MAIN __EXPORT ArduPilot_main ^ It's due to PX4 using that warning as opposed to Linux. Since it harmless, add the prototype for everybody.mission-4.1.18
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue