[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-cgicc] Re: help-cgicc digest, Vol 1 #132 - 2 msgs
From: |
Charles Tassell |
Subject: |
[help-cgicc] Re: help-cgicc digest, Vol 1 #132 - 2 msgs |
Date: |
29 Oct 2002 14:11:11 -0400 |
I had a simular problem, and was able to compile the apps by putting
STDNS in front of any conflicting symbols. So if you replace "map
<type, type> name" with "STDNS map <type, type> name" in your source
code, it should work. Works for me on SlackWare 7, 8.1, and 9.0-beta
systems.
On Tue, 2002-10-29 at 07:41, address@hidden wrote:
> From: Borries Demeler <address@hidden>
> To: address@hidden
> Date: Mon, 28 Oct 2002 06:19:16 -0600 (CST)
> Subject: [help-cgicc] name space conflicts
>
> 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
>
>
>
>
> --__--__--
>
> _______________________________________________
> help-cgicc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cgicc
>
>
> End of help-cgicc Digest
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [help-cgicc] Re: help-cgicc digest, Vol 1 #132 - 2 msgs,
Charles Tassell <=