Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2002-12-03 08:00:52


----- Original Message -----
From: "David B. Held" <dheld_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, December 02, 2002 9:01 PM
Subject: [boost] [Test] Minor patch for bcc

> test_tools.hpp (261): insert these lines as appropriate
>
> #pragma warn -8058 // Cannot create pre-compiled header
>
I'm not sure if this is a good idea.
Unlike some warnings, this in particular is quite useful: it's telling you
that you need to put "test_tools.hpp" outside the precompiled header.
Turning the warning off will just hide the compile-time overhead.

A better patch would be the add the following lines to the files including
Test headers:

....
....
...
#ifdef __BORLANDC__
#pragma hdrstop
#endif

#include"boost/test/test_tools.hpp"

Fernando Cacciola


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk