[Mesa-dev] [PATCH 1/6] c11: add c11 compatibility wrapper around stdlib.h

Brian Paul brian.e.paul at gmail.com
Sat Mar 7 12:35:12 PST 2015


On Sat, Mar 7, 2015 at 1:13 PM, Brian Paul <brian.e.paul at gmail.com> wrote:

> On Sat, Mar 7, 2015 at 12:38 PM, Emil Velikov <emil.l.velikov at gmail.com>
> wrote:
>
>
>> FYI I'm contemplating on about adding a final wrapper - c99_string.h. It
>> should nuke nearly all of the remaining compiler abstraction that we
>> have around - mapi, egl, gallium, mesa, glsl...
>>
>
> Yeah, I was looking at doing something like that for stroll() and
> strcasecmp().  I already have a patch series which removes _mesa_strdup()
> and another that moves fpclassify() to c99_math.h
>
> I'm on the road ATM and can't test the Windows build but I guess I could
> post my patches now.  I can test on Windows in a few days.
>

Hmm, git send-email isn't cooperating with my gmail account right now.  I'm
just attaching the patches for now.

-Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150307/170b5621/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mesa-move-fpclassify-work-arounds-into-c99_math.h.patch
Type: text/x-patch
Size: 4423 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150307/170b5621/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mesa-reindent-querymatrix.c.patch
Type: text/x-patch
Size: 8834 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150307/170b5621/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-mesa-remove-register-keyword-add-const-in-_mesa_Quer.patch
Type: text/x-patch
Size: 1005 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150307/170b5621/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-mesa-use-ARRAY_SIZE-in-_mesa_QueryMatrixxOES.patch
Type: text/x-patch
Size: 904 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150307/170b5621/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-xlib-use-strdup-instead-of-_mesa_strdup.patch
Type: text/x-patch
Size: 966 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150307/170b5621/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-st-glx-use-strdup-instead-of-_mesa_strdup.patch
Type: text/x-patch
Size: 1040 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150307/170b5621/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-mesa-use-strdup-instead-of-_mesa_strdup.patch
Type: text/x-patch
Size: 5887 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150307/170b5621/attachment-0013.bin>


More information about the mesa-dev mailing list