[cgma-dev] Fwd: [PATCH] API and linking changes for OpenCascade-6.5.0
Jason Kraftcheck
kraftche at cae.wisc.edu
Wed Apr 13 10:42:30 CDT 2011
On 04/13/2011 10:36 AM, Jason Kraftcheck wrote:
> On 04/13/2011 10:33 AM, Jiangtao Hu wrote:
>>
>> Hi, Jed
>>
>> Thanks for working on OCC6.3 to OCC6.5 migration issue, your patches
>> have been applied to build CGM on OCC6.5. As to your question, since
>> Opencascade doesn't support compatibility of OCC6.3 and OCC6.5, CGM
>> won't be able to support it either. Which means your patches are
>> necessary for migrating CGM from OCC6.3 kernel to OCC6.5 kernel.
>>
>
> This is not really true. We could support both 6.3 and 6.5 by writing some
> configure logic to detect the version and then using #ifdef's in the code.
> The question is whether or not we *want* to support both 6.3 and 6.5. One
> reason we might want to is that Ubuntu includes binary packages for OCC 6.3.
>
Actually, we don't even need the configure logic. Just use #ifdefs based on
the values defined on OCC's Standard_Version.hxx.
- jason
More information about the cgma-dev
mailing list