-Wstrict-prototypes is recommended in erl_driver docs
This commit is contained in:
@@ -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"}]}.
|
||||
|
||||
Reference in New Issue
Block a user