gmail trying to be smart when copying and pasting urls, so the link in the
previous mail pointed to the wrong url. This one should be correct:

http://users.notam02.no/~kjetism/diff.diff

(written manually)


On Wed, Jun 22, 2016 at 2:42 PM, Kjetil Matheussen <k.s.matheus...@gmail.com
> wrote:

> Okay, here is another patch, with things edited in compatibility.hh plus
> some additional changes I forgot last time (because I didn't work in a git
> repository):
>
> http://users.notam02.no/~kjetism/diff.diff
> <http://users.notam02.no/%7Ekjetism/generator.diff>
>
> Regarding __mingw_snprintf, I removed that stuff, and instead added
> -D__USE_MINGW_ANSI_STDIO compilation option when compiling with mingw.
> But this will only work for mingw. I think msc will still fail when using
> "g" in printf. Hopefully  "g" is not used for code generation.
>
>
>
> On Tue, Jun 21, 2016 at 2:20 PM, Stéphane Letz <l...@grame.fr> wrote:
>
>>
>> > Le 21 juin 2016 à 00:19, Kjetil Matheussen <k.s.matheus...@gmail.com>
>> a écrit :
>> >
>> >
>> >
>> > 1. To avoid "losing precision" error:
>> >
>> > -                            ? (long)array_typed1 > (long)array_typed1
>> > +                            ? (intptr_t)array_typed1 >
>> (intptr_t)array_typed1
>> >
>> >
>> >
>> > 2.  Windows snprintf doesn't understand "g", but the special
>> __mingw_snprintf function does:
>> >
>> > +#if defined(__MINGW32__)
>> > +        do { __mingw_snprintf(c, 32, "%.*Lg", p++, q); endp=0; } while
>> (strtold(c, &endp) != q);
>> > +#else
>> >          do { snprintf(c, 32, "%.*Lg", p++, q); endp=0; } while
>> (strtold(c, &endp) != q);
>> > +#endif
>> >
>> > (http://stackoverflow.com/questions/4089174/printf-and-long-double)
>> >
>> >
>> > Full patch:
>> >
>> > http://users.notam02.no/~kjetism/generator.diff
>> >
>>
>> We tried to avoid using  "#if defined" into regular files and we maintain
>> a global compatibility.hh,cpp (in tblib) to put alls compiler specific
>> stuff.. Could you possibly rework the second part of your patch to follow
>> this guideline?
>>
>> Thanks.
>>
>> Stéphane
>>
>>
>>
>>
>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to