Turning on Wmissing-declaration warnings.

This commit is contained in:
Ruben Ayrapetyan
2015-02-04 15:14:51 +03:00
parent 34bff56d8a
commit be4567860c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ TARGET_CPU = $(strip $(if $(filter linux,$(TARGET_SYSTEM)), x64, \
CFLAGS_WARNINGS ?= -Wall -Wextra -Wpedantic -Wlogical-op -Winline \
-Wformat-nonliteral -Winit-self -Wstack-protector \
-Wconversion -Wsign-conversion -Wformat-security \
-Wno-attributes
-Wmissing-declarations -Wno-attributes
CFLAGS_WERROR ?= -Werror
CFLAGS_WFATAL_ERRORS ?= -Wfatal-errors
@@ -31,7 +31,7 @@
* @return pointer to the collection's header
*/
ecma_collection_header_t*
ecma_new_values_collection (ecma_value_t values_buffer[], /**< ecma-values */
ecma_new_values_collection (const ecma_value_t values_buffer[], /**< ecma-values */
ecma_length_t values_number, /**< number of ecma-values */
bool do_ref_if_object) /**< if the value is object value,
increase reference counter of the object */