Subject: | MSWin compilers and back-slashed paths |
gcc compilers on windows don't like backslashed paths in directives
- e.g.
TreeListCtrl.c:1278:11: warning: unknown escape sequence '\T'
attached patch against 2.2206 fixes for gcc / MSWin without affecting any
other OS
Subject: | ExtUtils-ParseXS.patch |
diff -ruNw ExtUtils-ParseXS-2.2206/lib/ExtUtils/ParseXS.pm ExtUtils-ParseXS-working/lib/ExtUtils/ParseXS.pm
--- lib/ExtUtils/ParseXS.pm 2010-07-04 20:52:38.000000000 +0100
+++ lib/ExtUtils/ParseXS.pm 2010-10-05 16:47:54.286400000 +0100
@@ -1548,3 +1548,3 @@
$filename = $_ ;
- $filepathname = File::Spec->catfile($dir, $filename);
+ $filepathname = ( $^O =~ /^mswin/i ) ? qq($dir/$filename) : File::Spec->catfile($dir, $filename);