mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 12:17:35 +08:00
Linux: Added support for gcc-4.9.1
Fixed bug with missing quote in #error found by gcc 4.9.1 Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -62,6 +62,8 @@ CLANGVER=
|
||||
endif
|
||||
endif
|
||||
|
||||
USE_GCC=1
|
||||
|
||||
ifeq ($(USE_GCC),1)
|
||||
# GCC Options:
|
||||
CC = gcc
|
||||
@@ -69,7 +71,7 @@ CXX = g++
|
||||
CPP = gcc -E
|
||||
|
||||
# GCC Version
|
||||
DEV_VER_SUPPORTED = 4.6 4.8.2
|
||||
DEV_VER_SUPPORTED = 4.6 4.8.2 4.9.1
|
||||
|
||||
else
|
||||
# Clang options
|
||||
|
||||
@@ -35,8 +35,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef __PX4_ROS
|
||||
#error "Work queue not supported on ROS
|
||||
#if defined(__PX4_ROS)
|
||||
#error "Work queue not supported on ROS"
|
||||
#elif defined(__PX4_NUTTX)
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/wqueue.h>
|
||||
|
||||
Reference in New Issue
Block a user