Re: Fix compilation errors with libstdc++v3 for AVR target and allow --enable-libstdcxx

2016-12-23 Thread Felipe Magno de Almeida
On Fri, Dec 16, 2016 at 10:45 AM, Jonathan Wakely wrote: > On 15/12/16 21:41 -0300, Felipe Magno de Almeida wrote: >> >> Good point. Do you want me to update the patch with __men or go your way >> with the wrapper? Hello Jonathan, > I think my wrapper's too ugly :-

Re: Fix compilation errors with libstdc++v3 for AVR target and allow --enable-libstdcxx

2016-12-14 Thread Felipe Magno de Almeida
Hello Jonathan, Sorry for the delay, I was in mid-vacation. Comments are inline. On Tue, Dec 6, 2016 at 3:45 PM, Jonathan Wakely wrote: > On 16/09/16 02:53 -0300, Felipe Magno de Almeida wrote: >> [snip] >> I've tried both approaches. Templates were causing proble

Re: Fix compilation errors with libstdc++v3 for AVR target and allow --enable-libstdcxx

2016-11-10 Thread Felipe Magno de Almeida
On Thu, Nov 10, 2016 at 1:39 PM, Felipe Magno de Almeida wrote: > Hello, > > Sorry for top-posting, but this is a ping for the attached patch. > > The patch doesn't seem to have been applied nor refused. So I'm > pinging to see if I need to change something?

Re: Fix compilation errors with libstdc++v3 for AVR target and allow --enable-libstdcxx

2016-11-10 Thread Felipe Magno de Almeida
ict in the Changelog file. Regards, On Fri, Sep 16, 2016 at 3:37 AM, Felipe Magno de Almeida wrote: > Hello, > > Another patch. > > On Fri, Sep 16, 2016 at 2:53 AM, Felipe Magno de Almeida > wrote: >> On Fri, Sep 16, 2016 at 2:42 AM, Marc Glisse wrote: >>&g

Re: Fix compilation errors with libstdc++v3 for AVR target and allow --enable-libstdcxx

2016-09-15 Thread Felipe Magno de Almeida
Hello, Another patch. On Fri, Sep 16, 2016 at 2:53 AM, Felipe Magno de Almeida wrote: > On Fri, Sep 16, 2016 at 2:42 AM, Marc Glisse wrote: >> On Thu, 15 Sep 2016, Felipe Magno de Almeida wrote: >> >> + || sizeof(uint32_t) == sizeof(void*) >> +

Re: Fix compilation errors with libstdc++v3 for AVR target and allow --enable-libstdcxx

2016-09-15 Thread Felipe Magno de Almeida
On Fri, Sep 16, 2016 at 2:42 AM, Marc Glisse wrote: > On Thu, 15 Sep 2016, Felipe Magno de Almeida wrote: > > + || sizeof(uint32_t) == sizeof(void*) > +|| sizeof(uint16_t) == sizeof(void*), > > Indentation is off? > >> Call _M_extract

Fix compilation errors with libstdc++v3 for AVR target and allow --enable-libstdcxx

2016-09-15 Thread Felipe Magno de Almeida
(and just include'ing makes the final executable 100k bigger), however being able to use all C++11 and C++14 goodies from the STL is already really great. Kind regards, -- Felipe Magno de Almeida From 53952b274a4e4f4578bf4eb2332a7aa07b26a23b Mon Sep 17 00:00:00 2001 From: Felipe Magno de Almeida