Merged into master, and yes, I believe the alloca.h include is properly guarded.
Please try it out and let me know if I got anything wrong.
-- lg
On Feb 19, 2012, at 1:08 PM, pete larabell wrote:
> Sorry, that alloca.h include is normally found on line 63 of PtexPlatform.h
>
> Check lines 63-65 of the modified PtexPlatform.h I made for details.
>
> On Sun, Feb 19, 2012 at 3:05 PM, pete larabell <[email protected]> wrote:
>> Larry,
>>
>> Not sure if somehow this was missed in the files I sent to you, but
>> there is an #include <alloca.h> line that needs to be #ifndef
>> (__FreeBSD__) as well.
>>
>> On Sat, Feb 18, 2012 at 2:03 AM, Larry Gritz
>> <reply+i-3278065-4869a9efc10c22b0c6207ff939a86605ac7813a2-1146...@reply.github.com>
>> wrote:
>>> FreeBSD clean compilation fixes from Pete Larabell
>>>
>>> I'll commit this over the weekend if nobody objects. Anybody else using
>>> FreeBSD out there who can test it?
>>>
>>>
>>> You can merge this Pull Request by running:
>>>
>>> git pull https://github.com/lgritz/oiio lg-larabell
>>>
>>> Or you can view, comment on it, or merge it online at:
>>>
>>> https://github.com/OpenImageIO/oiio/pull/228
>>>
>>> -- Commit Summary --
>>>
>>> * FreeBSD clean compilation fixes from Pete Larabell
>>>
>>> -- File Changes --
>>>
>>> M src/cmake/platform.cmake (3)
>>> M src/ptex.imageio/ptex/PtexPlatform.h (10)
>>>
>>> -- Patch Links --
>>>
>>> https://github.com/OpenImageIO/oiio/pull/228.patch
>>> https://github.com/OpenImageIO/oiio/pull/228.diff
>>>
>>> ---
>>> Reply to this email directly or view it on GitHub:
>>> https://github.com/OpenImageIO/oiio/pull/228
>>> _______________________________________________
>>> Oiio-dev mailing list
>>> [email protected]
>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
--
Larry Gritz
[email protected]
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org