From a4b166d05a6e94e9fd29ca243fee83460ca70940 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 26 Oct 2005 12:07:24 +0000 Subject: [PATCH] Turn the ability observe Borland's inlining bugs back on. [SVN r31479] --- v1/borland-tools.jam | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/v1/borland-tools.jam b/v1/borland-tools.jam index cdad455e8..dc8c2ea89 100644 --- a/v1/borland-tools.jam +++ b/v1/borland-tools.jam @@ -32,7 +32,12 @@ flags borland CFLAGS off : -Od ; flags borland CFLAGS speed : -O2 ; flags borland CFLAGS space : -O1 ; -if $(.BORLAND_HAS_FIXED_INLINING_BUGS) +# Borland has inlining bugs that affect destructors +# (http://lists.boost.org/boost-testing/2005/10/2079.php). Define +# this variable to force inlining for Borland to always be shut off. +# We decided it was a bad idea to do it by default, because it would +# hide bugs that users would see. +if ! $(.BORLAND_INLINING_BUG_BRUTE_FORCE_WORKAROUND) { flags borland CFLAGS off : -vi- ; flags borland CFLAGS on : -vi -w-inl ;