Boost logo

Boost :

Subject: Re: [boost] Boost SIMD beta release
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2012-12-20 11:17:10


On 20-12-2012 15:09, Andrey Semashev wrote:
> On Thu, Dec 20, 2012 at 5:49 PM, Thorsten Ottosen
> <thorsten.ottosen_at_[hidden]> wrote:
>> That seems cool. Can illegal instructions be in a binary as long as they are
>> not exeuted?
>
> Yes, no problem with that.

Ok.

> The suggested approach has a nasty potential problem though. You have
> to be extra careful so that no common inline functions are compiled in
> different translation units with different compiler settings.
> Otherwise you may have ODR violation and it is unspecified which
> version of such functions end up in the compiled binary.

Well, is that different than other ODR violations?

We use bjam, so the settings are easy to make consistent across projects.

-Thorsten


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