Thank you Carsten,
We are indeed using a slightly older snapshot of the cvs
source tree. I forgot to mention it.
As for the text backend. It is already omitted for 64 bits as
Carbon is not available for that platform. It will not
compile in 32 bits when c++11 is enabled.
If needs be, I guess it could be disabled like it is for 64 bits
through a macro used for c++11 compilation.
Simon
On Tue, Apr 30, 2013 at 3:40 PM, Carsten Neumann <[email protected]>wrote:
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users