U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » UppHub » Docking - Name clash with opencascade library
Re: Docking - Name clash with opencascade library [message #27432 is a reply to message #27429] Sat, 17 July 2010 13:05 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
mdelfede wrote on Sat, 17 July 2010 11:15

I've got a small problem with "struct Handle", private to DockCont, which name is identical to OpenCascade library Handle macro.


Hello, Massimo.

It possible to use #pragma push_macro("SomeDefine") to save current defined value to macro stack and #pragma pop_macro("SomeDefine") to load saved value from macro stack.

For example:
#pragma push_macro("Handle")
#undef Handle
#include <Docking/Docking.h>
#pragma pop_macro("Handle")

Tested for GCC and MSC compilers.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Docking: Bug Fix:
Next Topic: Scatter: Propose to add new callbacks
Goto Forum:
  


Current Time: Mon Sep 28 17:39:05 GMT+2 2026

Total time taken to generate the page: 0.02984 seconds