$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: tonygeek (tonygeek_at_[hidden])
Date: 2004-09-11 15:09:28
--- In jamboost_at_[hidden], David Abrahams <dave_at_b...> wrote:
> Use the "difference" rule to remove the invalid flags. See
> borland-5.6.4-tools.jam for an example.
What exactly is the syntax for difference rule? I could not find it
in docs from CVS.
Based on Borland example I interpreted it as a substitution rule.
Indeed, lines:
CFLAGS = [ difference $(CFLAGS) : /Og ] ;
CFLAGS = [ difference $(CFLAGS) : /Gs ] ;
remove these two deprecated options and there are no more warnings
to the effect.
However, when I tried:
CFLAGS = [ difference $(CFLAGS) : /ML ] /MT ;
CFLAGS = [ difference $(CFLAGS) : /MLd ] /MTd ;
to remove options for nonexistent VC8.0 single-threaded library I
get both /MT and /MTd concatenated to every compiler command line.
Tony