[osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Wouter Boelen
Hi, I just got the dubious honour of becoming the poor sap who has to test the viability of using OSG in an existing project. Trouble is, it's been written in Borland C++ builder (and uses VCL,...). And the OSG source isn't fully compatible with its quirks. To make matters worse, Borland uses

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Wouter Boelen
Yep, that seems to be it. I'm going to replace OperationQueue with std::list ref_ptrOperation as a temporary fix. Thanks :) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21398#21398 ___

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Wouter Boelen
I can safely confirm that Borland's scoping is a little off sometimes. Anyway, the C-based wrapper approach is probably the easiest; no more source code mangling ;) Cheers, Wouter -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21419#21419

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Wouter Boelen
Simply renaming the typedef works. The trouble with the Borland compiler is in many, tiny differences with other compilers, that are individually easily rectified. According to the generated makefile I got about 15% of the lib to compile so far :) Still, compilation involves a lot of