dbus errors
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Sat Apr 12 16:37:58 CEST 2008
Jeff Mitchell schrieb:
> On Saturday 12 April 2008, Christian Ehrlicher wrote:
>>> "#undef interface" put in before line 75 fixes build.
>> fine. then a
>>
>> #define interface whatever
>>
>> should emit a warning because of a redeclaration.
>
> Copying from my reply to you on Thursday:
>
>>>> I assume the msvc headers define "interfac" as macro.
>>>> To see where this happens add in front of line 75
>>>> #define interface 1
>>>> This produces a warning and points you to the original
>>>> definition of interface.
>
>> Unfortunately, it doesn't produce anything. It just shifts the errors
>> down by one line...no warnings about previous definitions of interface
>> are given.
>
> Is there some compiler flag or something that I need for it to produce this
> warning?
>
It's a warning which is enabled by default. Looks like it's not a define
but a tpedef or something similar. Don't know
Chistian
More information about the Kde-windows
mailing list