[Qt-interest] Names clashing?..

Anatoly Burakov burakov.anatoly at gmail.com
Fri Aug 20 08:12:04 CEST 2010


Hi all

My program uses a library (custom-made). It's got a section with
communication constants organized into enum's. I am exploring the Qxt
library and it's got some mingw libraries #include'd. They in turn have
some #define'd constants and their names are clashing with the names in
my library (names like DELETE are pretty common...). As i understand,
when the constant is #define'd namespaces don't affect them.

Is there an easy solution to my problem (besides not using Qxt and
changing names in my library)?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5238 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100820/c88c7103/attachment.bin 


More information about the Qt-interest-old mailing list