Angus Leeming <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
>> | Would it be Ok if I added these blocks around struct debug_trait?
>> | Maybe I'll make the macro name more polite ;-)
>> 
>> I am with john... make two small .h files in the qt three and use
>> them in other files to workaround qt stuff.
>
| Ah, well. It appears that Mate's upgrade horkage worked in my 
| favour. debugstream.h now has 
>
| #ifdef DEBUG
|  # define TEMPORARY_DEBUG_MACRO DEBUG
|  # undef DEBUG
| #endif
>
| struct debug_trait {
|         ...
| };
>
| #ifdef TEMPORARY_DEBUG_MACRO 
|  # define DEBUG TEMPORARY_DEBUG_MACRO
|  # undef TEMPORARY_DEBUG_MACRO
| #endif
>
| I can see that this is nasty, but it does have the advantage of just 
| working.
>
| The alternative, defining qt_debug.h, as a wrapper for debug.h is 
| certainly possible. Hmmmmmmmm... Depends on how I'd rather spend my 
| lyx-time I guess...

I don't see why debug.h should know anything about qt.

-- 
        Lgb

Reply via email to