Browse Source

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>
sbg
Mark Charlebois 10 years ago
parent
commit
88a0081112
  1. 4
      makefiles/toolchain_native.mk
  2. 4
      src/platforms/px4_workqueue.h

4
makefiles/toolchain_native.mk

@ -62,6 +62,8 @@ CLANGVER= @@ -62,6 +62,8 @@ CLANGVER=
endif
endif
USE_GCC=1
ifeq ($(USE_GCC),1)
# GCC Options:
CC = gcc
@ -69,7 +71,7 @@ CXX = g++ @@ -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

4
src/platforms/px4_workqueue.h

@ -35,8 +35,8 @@ @@ -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>

Loading…
Cancel
Save