13 Jul
2015
13 Jul
'15
10:24 a.m.
On Jul 2, 2015, at 4:20 PM, Alister Winfield <alister@ticklers.org> wrote:
From memory you can get away with compiling the 'main' as C++ and use C++ for the final linking phase.. That assumes you ensure the bits that link to "C" compiled code have the extern "C" stuff in the right place to ensure you don't get any C++ name mangling issues.
It seems fairly happy linking directly to the cassandra client library. No odd crashes, memory leaks or SEGVs so far... It's actually a little confusing :) It's in the v3.1.x branch if you felt like doing some light detective work. -Arran