Re: Building issues with gcc

Jeremy Selan <jeremy...@...>

I've pushed the fix for CMAKE_CXX_FLAGS to master. Thanks for pointing that out.

As for
-fvisibility-inlines-hidden, the only places that appears in OCIO are:

Would you try commenting out the offending lines, and see if that can build on your gcc version?

There are currently checks for CMAKE_COMPILER_IS_GNUCXX around these lines, and if we can confirm that older gccs dont support this option I'm happy to add an additional gcc version check as well.

-- Jeremy

On Thu, Dec 8, 2011 at 8:57 AM, Jeremy Selan <jeremy...@...> wrote:
I'll hold off on commenting on the first issue for the moment, but the 2nd issue (not preserving incoming CMAKE_CXX_FLAGS) is clearly an oversight.  I'll check in a fix today.

-- Jeremy

Join to automatically receive all group messages.