This fixes failures in ext/B/t/deparse.t and lib/warnings.t (and
renders change 24870 obsolete, hence it is reverted here).
p4raw-id: //depot/perl@24883
$results =~ s|:abc(d)?\b|./abc$1|g;
}
- # Borland compiler whines about DOMAIN errors for some "uninit" tests
- if ($^O eq 'MSWin32' and $Config{ccname} =~ /bcc32/) {
- $results =~ s|\n\n\w+: DOMAIN error||g;
- }
-
$expected =~ s/\n+$//;
my $prefix = ($results =~ s#^PREFIX(\n|$)##) ;
# any special options? (OPTIONS foo bar zap)
{
try_symbol($symbol);
}
+ if ($CCTYPE eq "BORLAND") {
+ try_symbol('_matherr');
+ }
}
elsif ($PLATFORM eq 'os2') {
open MAP, 'miniperl.map' or die 'Cannot read miniperl.map';
#define ONE_K_BUFSIZE 1024
+#ifdef __BORLANDC__
+/* Silence STDERR grumblings from Borland's math library. */
+DllExport int
+_matherr(struct _exception *a)
+{
+ PERL_UNUSED_VAR(a);
+ return 1;
+}
+#endif
+
int
IsWin95(void)
{