----- Original Message -----
From: "David B. Held" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to