Turning on Wmissing-declaration warnings.
This commit is contained in:
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user