[Module-build-checkins] [svn:ExtUtils-CBuilder] r5868 - in ExtUtils-CBuilder/trunk: . lib/ExtUtils/C
Status: Beta
Brought to you by:
kwilliams
From: <ra...@cv...> - 2006-04-07 02:24:38
|
Author: randys Date: Thu Apr 6 19:24:21 2006 New Revision: 5868 Modified: ExtUtils-CBuilder/trunk/Changes ExtUtils-CBuilder/trunk/lib/ExtUtils/CBuilder/Platform/Windows.pm Log: Borland's compiler "response files" will not pass through macro definitions that contain quotes. The quotes get stripped and there seems to be no way to escape them. So we leave macros on the command line. Modified: ExtUtils-CBuilder/trunk/Changes ============================================================================== --- ExtUtils-CBuilder/trunk/Changes (original) +++ ExtUtils-CBuilder/trunk/Changes Thu Apr 6 19:24:21 2006 @@ -1,5 +1,12 @@ Revision history for Perl extension ExtUtils::CBuilder. +0.19 + + - Borland's compiler "response files" will not pass through macro + definitions that contain quotes. The quotes get stripped and there + seems to be no way to escape them. So we leave macros on the + command line. + 0.18 Sat Mar 25 13:35:47 CST 2006 - Yet more fixes for arg_defines() on VMS. [Craig A. Berry and John Modified: ExtUtils-CBuilder/trunk/lib/ExtUtils/CBuilder/Platform/Windows.pm ============================================================================== --- ExtUtils-CBuilder/trunk/lib/ExtUtils/CBuilder/Platform/Windows.pm (original) +++ ExtUtils-CBuilder/trunk/lib/ExtUtils/CBuilder/Platform/Windows.pm Thu Apr 6 19:24:21 2006 @@ -437,11 +437,16 @@ open( SCRIPT, ">$script" ) or die( "Could not create script '$script': $!" ); + # XXX Borland "response files" seem to be unable to accept macro + # definitions containing quoted strings. Escaping strings with + # backslash doesn't work, and any level of quotes are stripped. The + # result is is a floating point number in the source file where a + # string is expected. So we leave the macros on the command line. print SCRIPT join( "\n", map { ref $_ ? @{$_} : $_ } grep defined, delete( - @spec{ qw(includes cflags optimize defines perlinc) } ) + @spec{ qw(includes cflags optimize perlinc) } ) ); close SCRIPT; |