add -Wformat to %auto-compilation-options
authorAndy Wingo <wingo@pobox.com>
Fri, 17 Jun 2011 17:16:16 +0000 (19:16 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 17 Jun 2011 17:16:16 +0000 (19:16 +0200)
* module/ice-9/boot-9.scm (%auto-compilation-options): Add -Wformat to
  the default warning set.

module/ice-9/boot-9.scm

index f31cffb..a70b9f7 100644 (file)
@@ -3447,7 +3447,7 @@ module '(ice-9 q) '(make-q q-length))}."
 
 (define %auto-compilation-options
   ;; Default `compile-file' option when auto-compiling.
-  '(#:warnings (unbound-variable arity-mismatch)))
+  '(#:warnings (unbound-variable arity-mismatch format)))
 
 (define* (load-in-vicinity dir path #:optional reader)
   ;; Returns the .go file corresponding to `name'. Does not search load