Silence some warnings

This commit is contained in:
Baptiste Wicht 2016-07-24 16:15:11 +02:00
parent 6f95f19999
commit 7ea56b853b
2 changed files with 3 additions and 3 deletions

2
cpp.mk
View File

@ -9,7 +9,7 @@ COMMON_C_FLAGS=-masm=intel -I../../tstl/include/ -I../printf/include/ -I../tstl/
# Activate Stack Smashing Protection
COMMON_C_FLAGS += -fstack-protector
COMMON_C_FLAGS += -Iacpica/source/include
COMMON_C_FLAGS += -isystem acpica/source/include
# Add more flags for C++
COMMON_CPP_FLAGS=$(COMMON_C_FLAGS) -std=c++11 -fno-rtti

View File

@ -17,8 +17,8 @@ extern "C" {
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-function" //TODO Does not work
#include "acpi.h"
#include "accommon.h"
#include <acpi.h>
#include <accommon.h>
#pragma GCC diagnostic pop
} //end of extern "C"