Re: [Bug 1022] Cmake option broken : build with OS_EMBEDDED=ON with default OS_NOEXCEPTIONS=ON doesn't compile

Peter Soetens <[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <CAMYDobXP8rXxgyBPy9jerTj8bXr+_aW-n7OnJfM7B7fkgL2m1A@mail.gmail.com>
On Wed, Jan 30, 2013 at 3:45 PM, Willy Lambert <[email protected]> wrote:
> 2013/1/30 Willy Lambert <[email protected]>:
>>
>> http://bugs.orocos.org/show_bug.cgi?id=1022
>>
>> --- Comment #1 from Willy Lambert <[email protected]> 2013-01-30 15:42:43 CET ---
>> sorry, last submit was send by error.
>>
>> In trying to integrate Orocos to buildroot from this try :
>> https://github.com/phamelin/buildroot/blob/2011.05-sm/package/orocos-rtt/orocos-rtt.mk
>>
>> I imagine that this used to work, but using the same in the 2.5 version it
>> fails. I don't know about more recent ones.
>>
>> The problem comes when the cmake configuration variable OS_EMBEDDED is set to
>> on which set OS_NOEXCEPTIONS to ON by default. Some files complain about the
>> -fno_exception flag being set.
>>
>> I don't mind proposing a patch but I have no idea on how to treat this.
>>
>> --
>> Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
>> ------- You are receiving this mail because: -------
>> You are on the CC list for the bug.
>> You are the assignee for the bug.
>> --
>> Orocos-Dev mailing list
>> [email protected]
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>
>
> BTW, I really have no idea on what is really doing the OS_EMBEDDED
> option. Is there a place where we can look as documentation for cmake
> configuration variables ?

It's a left-over from RTT 1.x. See
http://people.mech.kuleuven.be/~orocos/pub/stable/documentation/rtt/v1.12.x/doc-xml/orocos-installation.html

for a short description. It's unlikely you want to turn it on, since
most Boost code we rely on requires exceptions, unless Boost fixed
this again in very recent versions.

Peter
-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.