Boost logo

Boost-Build :

Subject: Re: [Boost-build] Precompiled Header Include Path
From: John Maddock (john_at_[hidden])
Date: 2008-12-09 04:46:55


Andrew Sayman wrote:
>> I'm recently moving to using Boost.Build for a large C++ project. I
>> have previously used precompiled headers, but the layout used now
>> seems incompatible.
>>
>> I have C++ files with header lines like this:
>> #include "project_path/prec.h"

Not sure that this helps, but I had to use the form:

#include <myheader.hpp>

in order to get pch's working reliably across gcc and msvc :-(

John.


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk