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:
Mark Charlebois
2015-03-14 14:40:00 -07:00
parent d013ac0927
commit 88a0081112
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -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
+2 -2
View File
@@ -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>