mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-13 06:29:47 -04:00
Silence some warnings
This commit is contained in:
parent
6f95f19999
commit
7ea56b853b
2
cpp.mk
2
cpp.mk
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user