I know a lot of time has gone by, but I believe this problem is solved with the 
following pull request: https://github.com/OpenImageIO/oiio/pull/732

The fix has been incorporated into master and RB-1.2.

        -- lg


On Jan 22, 2013, at 2:32 PM, Nicholas Yue <[email protected]> wrote:

> Hi,
> 
>    I am attempting to build oiio from a zip archive snapshot of the repo.
> 
>    I am building it on Fedora 15 but for compatibility with Maya plugins, I 
> am using the GCC 4.1.2 compiler.
> 
>    The older compiler seems to have problem with the following code pattern 
> in imagebufalgo.h
> 
>    enum OIIO_API AlignedTransform
> 
>    commenting out the OIIO_API for all the enums in imagebufalgo.h enables me 
> to compile OIIO
> 
>    Just wondering if there are others using GCC 4.1.2 successfully with the 
> latest oiio source on the repo without making the above modification.
> 
> Cheers
> 
> -- 
> Nicholas Yue

--
Larry Gritz
[email protected]



_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to