mirror of https://github.com/rusefi/rusefi.git
Wundef
This commit is contained in:
parent
857c078adc
commit
ac9cbc9c56
|
@ -339,9 +339,11 @@ TOPT = -mthumb -DTHUMB
|
|||
|
||||
# Define C warning options here
|
||||
CWARN = -Wall -Wextra -Wstrict-prototypes
|
||||
CWARN += -Wundef
|
||||
|
||||
# Define C++ warning options here
|
||||
CPPWARN = -Wall -Wextra
|
||||
CPPWARN += -Wundef
|
||||
|
||||
#
|
||||
# Compiler settings
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wundef"
|
||||
#include "lua.hpp"
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
class LuaHandle final {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue