chiark / gitweb /
Some kernels don't like my #! line. Move the -w into a 'use
authorSimon Tatham <anakin@pobox.com>
Sun, 30 May 2010 22:48:31 +0000 (22:48 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 30 May 2010 22:48:31 +0000 (22:48 +0000)
warnings;' to make it simpler.

[originally from svn r8966]

mkfiles.pl

index ad364cd6bf04dcb7536a00bc01caf359f2051063..541a44dced4f2b616aaf7b7f8618574667d1facf 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl -w
+#!/usr/bin/env perl
 #
 # Cross-platform Makefile generator.
 #
@@ -17,6 +17,7 @@
 #  - special-define objects (foo.o[PREPROCSYMBOL]) are not
 #    supported in the mac or vcproj makefiles.
 
+use warnings;
 use IO::Handle;
 use Cwd;