error in use of operator "new" with rtems
Luca Cinquepalmi
cinquepalmi at planetek.it
Mon Mar 4 12:15:18 UTC 2013
I've also tried with sparc-rtems4.11-g++ but it's the same...
On 03/04/2013 01:11 PM, Sebastian Huber wrote:
> On 03/04/2013 11:52 AM, Luca Cinquepalmi wrote:
>> The dimension of the object code is the double of the object code in
>> case
>> I don't use the "new" operator. No error occurs in compilation, only
>> a dimension
>> enlargement which doesn't make my program work...
>
> Do you mean the code size of the final executable? If you use the
> standard new operator, then you depend on C++ exception handling and
> also some pretty printing stuff (see GCC configure option
> --disable-libstdcxx-verbose). You can avoid some dependencies if you
> use the no-throw new (e.g. new(std::nothrow)).
>
Luca Cinquepalmi
Space System SBU
Planetek Italia s.r.l.
Via Massaua 12, I-70132 Bari
Tel.: +39 0809644200 Fax: +39 0809644299
cinquepalmi at planetek.it - http://www.planetek.it
--
More information about the users
mailing list