Disabling Wattributes warnings (because always_inline is considered incorrect without inline specifier even in LTO mode); removing used attribute from always_inline functions; removing inline specifier from ecma_lcache_lookup and ecma_stack_top_value.

This commit is contained in:
Ruben Ayrapetyan
2015-02-03 18:05:14 +03:00
parent 3cb0b0a379
commit 9cdc50c3ec
4 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -206,7 +206,8 @@ TARGET_CPU = $(strip $(if $(filter linux,$(TARGET_SYSTEM)), x64, \
# Warnings
CFLAGS_WARNINGS ?= -Wall -Wextra -Wpedantic -Wlogical-op -Winline \
-Wformat-nonliteral -Winit-self -Wstack-protector \
-Wconversion -Wsign-conversion -Wformat-security
-Wconversion -Wsign-conversion -Wformat-security \
-Wno-attributes
CFLAGS_WERROR ?= -Werror
CFLAGS_WFATAL_ERRORS ?= -Wfatal-errors