mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-14 06:56:51 -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
|
# Activate Stack Smashing Protection
|
||||||
COMMON_C_FLAGS += -fstack-protector
|
COMMON_C_FLAGS += -fstack-protector
|
||||||
COMMON_C_FLAGS += -Iacpica/source/include
|
COMMON_C_FLAGS += -isystem acpica/source/include
|
||||||
|
|
||||||
# Add more flags for C++
|
# Add more flags for C++
|
||||||
COMMON_CPP_FLAGS=$(COMMON_C_FLAGS) -std=c++11 -fno-rtti
|
COMMON_CPP_FLAGS=$(COMMON_C_FLAGS) -std=c++11 -fno-rtti
|
||||||
|
@ -17,8 +17,8 @@ extern "C" {
|
|||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||||
#pragma GCC diagnostic ignored "-Wunused-function" //TODO Does not work
|
#pragma GCC diagnostic ignored "-Wunused-function" //TODO Does not work
|
||||||
#include "acpi.h"
|
#include <acpi.h>
|
||||||
#include "accommon.h"
|
#include <accommon.h>
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
} //end of extern "C"
|
} //end of extern "C"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user