Boost logo

Boost :

Subject: Re: [boost] [build] clang objective c support?
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2014-09-10 22:43:32

On Wed, Sep 10, 2014 at 8:48 PM, Emil Dotchevski <emildotchevski_at_[hidden]>

> On Wed, Sep 10, 2014 at 6:20 PM, Rene Rivera <grafikrobot_at_[hidden]>
> wrote:
> > Oh, sorry.. I guess I didn't read carefully enough. The GCC toolset has
> > OBJC support. Not sure about the Clang toolset.
> >
> Right, my question is specifically about the clang-darwin toolset, that is,
> clang on MACOSX. What would be the behavior if it is not supported but a
> library target uses .m or .mm sources? What I'm seeing is that Boost Build
> doesn't issue any errors but doesn't build the .m and .mm sources.

IIRC, from my testing it issues a warning about being unable to build a
target and then continues on building everything else. But let me check...

$ cd predef/test
$ b2 -a --verbose-test
warn: Unable to construct ./info_as_objcpp
warn: Unable to construct ./info_as_objc
...found 184 targets...
...updating 20 targets...
**passed** bin/macos_vs_bsd.test/clang-darwin-4.2.1/debug/macos_vs_bsd.test
...updated 20 targets...

-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams -
-- rrivera/ (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost list run by bdawes at, gregod at, cpdaniel at, john at