From 3b7c6c9e45e500264f179f9485538a85b263ae53 Mon Sep 17 00:00:00 2001 From: Michael Mullis Date: Thu, 10 Sep 2009 14:02:41 -0400 Subject: [PATCH] warn about everything we can --- Emakefile | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/Emakefile b/Emakefile index 9f9ce06..1b013df 100644 --- a/Emakefile +++ b/Emakefile @@ -1,10 +1,33 @@ -{ './src/*', [debug_info, +{ './src/*', [debug_info,warn_unused_vars, + warn_export_all, + warn_export_vars, + warn_shadow_vars, + warn_unused_import, + warn_unused_function, + warn_bif_clash, + warn_unused_record, + warn_deprecated_function, + warn_obsolete_guard, + warn_untyped_record, + warn_missing_spec, + warn_missing_spec_all, { i, "./include" }, { outdir, "./ebin" } ]}. -{ './test/src/*', [debug_info, +{ './test/src/*', [debug_info,warn_unused_vars, + warn_export_all, + warn_export_vars, + warn_shadow_vars, + warn_unused_import, + warn_unused_function, + warn_bif_clash, + warn_unused_record, + warn_deprecated_function, + warn_obsolete_guard, + warn_untyped_record, + warn_missing_spec, + warn_missing_spec_all, { i, "./include" }, { outdir, "./test/ebin" } ]}. -