Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-04-23 00:49:56


On Wednesday 23 April 2008 03:32:45 K. Noel Belcourt wrote:
> Hi,
>
> The attached patch fixes these undefined symbols
>
> __ZNSt15basic_streambufIwSt11char_traitsIwEE8overflowEj
> __ZNSt15basic_streambufIwSt11char_traitsIwEE9pbackfailEj
>
> when building with the intel-darwin toolset. The fix just defines -
> D__WINT_TYPE__=int to match the behavior of the darwin toolset.

What does this macro affect? Is the intel-darwin compiler always
requires that macro to work?

> I
> realize this patch is unorthodox in that it patches the c and c++
> build actions but this approach seems simpler than adding a new macro
> to Boost.config and going that route. I'm all ears if someone has a
> better idea on how to patch this.

I don't think we should bother with anything else, if this macro should
really be always defined. But in that case, I'd prefer to see a comment
explaining why it's so, so that in future nobody remove this setting.

- Volodya


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