win32 KUriFilterData problem with ERROR define

Saro Engels ps_ml at gmx.de
Wed Aug 29 15:01:42 CEST 2007


Ralf Habacker schrieb:
> Hi,
> 
> in kio's KUriFilterData class 
> (http://lxr.kde.org/source/KDE/kdelibs/kio/kio/kurifilter.h#098)
> 
> there are the following enums defined
> 
> m UriTypes { NET_PROTOCOL=0, LOCAL_FILE, LOCAL_DIR, EXECUTABLE, HELP, 
> SHELL, BLOCKED, ERROR, UNKNOWN };
> 
> Because they are all uppercase at least the ERROR value collidates with 
> a win 32 preprozessor macro definition.
> 
> I recognized this when compiling kdebase with msvc
Same applies to mingw build:
http://pskd.dyndns.org:8080/mingw-kdebase-log/build.log
I remember building kdebase building on monday, so was this problem 
introduced since then? They might not have got to far with it.
SE




More information about the Kde-windows mailing list