From 1db6c423101ba6c6e118ffe45735d9cf7dfd8f46 Mon Sep 17 00:00:00 2001 From: Alexey Romanov Date: Sat, 11 Oct 2014 00:19:22 +0400 Subject: [PATCH] -Wstrict-prototypes is recommended in erl_driver docs --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebar.config b/rebar.config index 26684ed..eb87d09 100644 --- a/rebar.config +++ b/rebar.config @@ -1,5 +1,5 @@ % -*- mode: erlang -*- -{port_envs, [{"^(?!.*win32)", "DRV_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter"}, +{port_envs, [{"^(?!.*win32)", "DRV_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes"}, {"^(?!.*win32)", "DRV_LDFLAGS", "$DRV_LDFLAGS -lsqlite3"}, {"win32", "CFLAGS", "/IF:/MyProgramming/sqlite-amalgamation /Ic_src /W4 /wd4100 /wd4204"}, {"win32", "LDFLAGS", "sqlite3.lib"}]}.