help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] name space conflicts


From: Borries Demeler
Subject: [help-cgicc] name space conflicts
Date: Mon, 28 Oct 2002 06:19:16 -0600 (CST)

I am having difficulties compiling a cgicc application under gcc-2.95.3:

In file included from 
/usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/map:33,
   from /usr/lib/qt/include/qmap.h:50,
   from /usr/lib/qt/include/qmime.h:43,
   from /usr/lib/qt/include/qevent.h:45,
   from /usr/lib/qt/include/qobject.h:45,
   from /usr/lib/qt/include/qwidget.h:43,
   from /usr/lib/qt/include/qdialog.h:42,
   from /usr/lib/qt/include/qmessagebox.h:42,
   from us_6.0-register.cpp:46:
/usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/stl_map.h:61:
 use of `map' is ambiguous
/usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/stl_map.h:48:
 first declared as `template <class _Key, class _Tp, class _Compare = struct 
less<_Key>, class _Alloc = class allocator<_T2> > class 
map<_Key,_Tp,_Compare,_Alloc>' here
/usr/include/cgicc/HTMLClasses.h:183: also declared as `typedef class 
cgicc::HTMLBooleanElement<cgicc::mapTag> cgicc::map' here
/usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/stl_map.h:61:
 non-template type `map' used as a template
/usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3/stl_map.h:61:
 confused by earlier errors, bailing out
cpp0: output pipe has been closed

My application uses both qt and cgicc, and apparently there is a namespace
conflict between stl map and cgicc map. Can someone suggest a solution
to this problem?

Thanks -Borries




reply via email to

[Prev in Thread] Current Thread [Next in Thread]