Hello Simon,

On 04/29/2013 03:52 PM, Simon Bouvier-Zappa wrote:
> I've made some changes on OpenSG 1.8 source code to fix compilation with
> clang 4.2 and cxx-11 support on macosx.  We only compile libOSGBase and
> libOSGSystem, so I did not have time to review the other libraries.

thank you for the patch. I've committed a slightly modified version of 
the patch (mostly to avoid introducing new C-style casts).

> I had to disable text support in my compilation as Carbon api used in
> OSGTextMacBackend.cpp does not compile with cxx-11.

However, I have omitted this part for now: the patch does not seem to be 
against the latest sources and I don't know enough about Mac APIs to 
decide what is correct/better. Any hints appreciated :)

The current code has:
#if defined(_WIN32)
     _backend = new TextWIN32Backend();
#elif defined(__APPLE__) && !defined(__LP64__)
     _backend = new TextMacBackend();
#elif defined(FT2_LIB)
     _backend = new TextFT2Backend();
#else
     _backend = 0;
#endif

        Thanks again & Cheers,
                Carsten

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to