Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Thu May 23 21:07:06 CEST 2024

Total time taken to generate the page: 0.01658 seconds