本帖最后由 关河 于 2015-3-17 19:24 编辑
大神快来啊啊啊!
In file included from C:\Git\ardupilot\libraries\AP_HAL/AP_HAL.h:13:0,
from C:\Git\ardupilot\libraries\AP_Menu/AP_Menu.h:20,
from ArduCopter.ino:88:
C:\Git\ardupilot\libraries\AP_HAL/UARTDriver.h:45:18: warning: unused parameter 'flow_control_setting' [-Wunused-parameter]
virtual void set_flow_control(enum flow_control flow_control_setting) {};
^
In file included from C:\Git\ardupilot\libraries\AP_HAL/AP_HAL.h:15:0,
from C:\Git\ardupilot\libraries\AP_Menu/AP_Menu.h:20,
from ArduCopter.ino:88:
C:\Git\ardupilot\libraries\AP_HAL/SPIDriver.h:41:18: warning: unused parameter 'speed' [-Wunused-parameter]
virtual void set_bus_speed(enum bus_speed speed) {}
^
In file included from C:\Git\ardupilot\libraries\AP_HAL/AP_HAL.h:20:0,
from C:\Git\ardupilot\libraries\AP_Menu/AP_Menu.h:20,
from ArduCopter.ino:88:
C:\Git\ardupilot\libraries\AP_HAL/RCOutput.h:56:22: warning: unused parameter 'chmask' [-Wunused-parameter]
virtual void set_safety_pwm(uint32_t chmask, uint16_t period_us) {}
^
C:\Git\ardupilot\libraries\AP_HAL/RCOutput.h:56:22: warning: unused parameter 'period_us' [-Wunused-parameter]
C:\Git\ardupilot\libraries\AP_HAL/RCOutput.h:61:22: warning: unused parameter 'chmask' [-Wunused-parameter]
virtual void set_failsafe_pwm(uint32_t chmask, uint16_t period_us) {}
^
C:\Git\ardupilot\libraries\AP_HAL/RCOutput.h:61:22: warning: unused parameter 'period_us' [-Wunused-parameter]
C:\Git\ardupilot\libraries\AP_HAL/RCOutput.h:81:22: warning: unused parameter 'min_pwm' [-Wunused-parameter]
virtual void set_esc_scaling(uint16_t min_pwm, uint16_t max_pwm) {}
^
C:\Git\ardupilot\libraries\AP_HAL/RCOutput.h:81:22: warning: unused parameter 'max_pwm' [-Wunused-parameter]
In file included from C:\Git\ardupilot\libraries\AP_HAL/AP_HAL.h:21:0,
from C:\Git\ardupilot\libraries\AP_Menu/AP_Menu.h:20,
from ArduCopter.ino:88:
C:\Git\ardupilot\libraries\AP_HAL/Scheduler.h:66:22: warning: unused parameter 'speed_hz' [-Wunused-parameter]
virtual void set_timer_speed(uint16_t speed_hz) {}
^
C:\Git\ardupilot\libraries\AP_HAL/Scheduler.h:71:22: warning: unused parameter 'time_usec' [-Wunused-parameter]
virtual void stop_clock(uint64_t time_usec) {}
^
In file included from C:\Git\ardupilot\libraries\AP_HAL/AP_HAL.h:23:0,
from C:\Git\ardupilot\libraries\AP_Menu/AP_Menu.h:20,
from ArduCopter.ino:88:
C:\Git\ardupilot\libraries\AP_HAL/Util.h:46:18: warning: unused parameter 'time_utc_usec' [-Wunused-parameter]
virtual void set_system_clock(uint64_t time_utc_usec) {}
^
C:\Git\ardupilot\libraries\AP_HAL/Util.h:55:18: warning: unused parameter 'buf' [-Wunused-parameter]
virtual bool get_system_id(char buf[40]) { return false; }
^
C:\Git\ardupilot\libraries\AP_HAL/Util.h:66:18: warning: unused parameter 'argv' [-Wunused-parameter]
virtual void commandline_arguments(uint8_t &argc, char * const *&argv) { argc = 0; }
^
C:\Git\ardupilot\libraries\AP_HAL/Util.h:72:18: warning: unused parameter 'tune' [-Wunused-parameter]
virtual void toneAlarm_set_tune(uint8_t tune) {}
^
In file included from C:\Git\ardupilot\libraries\DataFlash/DataFlash.h:11:0,
from C:\Git\ardupilot\libraries\GCS_MAVLink/GCS.h:13,
from ArduCopter.ino:102:
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:172:16: warning: unused parameter 'instance' [-Wunused-parameter]
GPS_Status status(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:184:21: warning: unused parameter 'instance' [-Wunused-parameter]
const Location &location(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:191:10: warning: unused parameter 'instance' [-Wunused-parameter]
bool speed_accuracy(uint8_t instance, float &sacc) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:203:10: warning: unused parameter 'instance' [-Wunused-parameter]
bool horizontal_accuracy(uint8_t instance, float &hacc) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:215:10: warning: unused parameter 'instance' [-Wunused-parameter]
bool vertical_accuracy(uint8_t instance, float &vacc) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:228:21: warning: unused parameter 'instance' [-Wunused-parameter]
const Vector3f &velocity(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:236:11: warning: unused parameter 'instance' [-Wunused-parameter]
float ground_speed(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:249:13: warning: unused parameter 'instance' [-Wunused-parameter]
int32_t ground_course_cd(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:257:13: warning: unused parameter 'instance' [-Wunused-parameter]
uint8_t num_sats(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:265:14: warning: unused parameter 'instance' [-Wunused-parameter]
uint32_t time_week_ms(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:273:14: warning: unused parameter 'instance' [-Wunused-parameter]
uint16_t time_week(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:281:14: warning: unused parameter 'instance' [-Wunused-parameter]
uint16_t get_hdop(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:290:14: warning: unused parameter 'instance' [-Wunused-parameter]
uint32_t last_fix_time_ms(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:299:11: warning: unused parameter 'instance' [-Wunused-parameter]
uint32_t last_message_time_ms(uint8_t instance) const {
^
C:\Git\ardupilot\libraries\AP_GPS/AP_GPS.h:313:10: warning: unused parameter 'instance' [-Wunused-parameter]
bool have_vertical_velocity(uint8_t instance) const {
^
In file included from C:\Git\ardupilot\libraries\DataFlash/DataFlash.h:13:0,
from C:\Git\ardupilot\libraries\GCS_MAVLink/GCS.h:13,
from ArduCopter.ino:102:
C:\Git\ardupilot\libraries\AP_Baro/AP_Baro.h:103:14: warning: unused parameter 'instance' [-Wunused-parameter]
uint32_t get_last_update(uint8_t instance) const { return sensors[_primary].last_update_ms; }
^
In file included from C:\Git\ardupilot\libraries\AP_Airspeed/AP_Airspeed.h:12:0,
from C:\Git\ardupilot\libraries\AP_AHRS/AP_AHRS.h:28,
from C:\Git\ardupilot\libraries\DataFlash/DataFlash.h:14,
from C:\Git\ardupilot\libraries\GCS_MAVLink/GCS.h:13,
from ArduCopter.ino:102:
C:\Git\ardupilot\libraries\AP_Airspeed/AP_Airspeed_analog.h:25:10: warning: unused parameter 'temperature' [-Wunused-parameter]
bool get_temperature(float &temperature) { return false; }
^
In file included from C:\Git\ardupilot\libraries\DataFlash/DataFlash.h:14:0,
from C:\Git\ardupilot\libraries\GCS_MAVLink/GCS.h:13,
from ArduCopter.ino:102:
C:\Git\ardupilot\libraries\AP_AHRS/AP_AHRS.h:269:18: warning: unused parameter 'vec' [-Wunused-parameter]
virtual bool get_velocity_NED(Vector3f &vec) const { return false; }
^
C:\Git\ardupilot\libraries\AP_AHRS/AP_AHRS.h:274:18: warning: unused parameter 'vec' [-Wunused-parameter]
virtual bool get_relative_position_NED(Vector3f &vec) const { return false; }
^
|