Re: common.cpp: call of overloaded 'pointer()' is ambiguous
David Sugar <[email protected]> Wed, 23 Mar 2011 06:32:36 -0400
| Newsgroups | gmane.comp.gnu.ccscript.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------050608020509000904040301 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This touches upon a question in discussion as to whether ccscript should remain a separate package or simply be subsumed in a future bayonne release, as we have yet to identify another package that uses ccscript. On 03/23/2011 06:26 AM, Brian Gough wrote: > Hi. I got the error below compiling the latest ccscript-4.2.0 with > ucommon-4.2.0. > > The full log is at http://chapters.gnu.org/~bjg/gsrc/logs/ccscript.txt > > Tested with gcc-4.3.2 and gcc-4.4.5. > > ake[3]: Entering directory `/home/bjg/gsrc.main/gnu/ccscript/work/ccscript-4.2.0/src' > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wno-long-long -DNEW_STDCPP -pthread -fno-check-new -finline -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -I/home/bjg/gnu/include -g -O2 -MT common.lo -MD -MP -MF .deps/common.Tpo -c -o common.lo common.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wno-long-long -DNEW_STDCPP -pthread -fno-check-new -finline -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -I/home/bjg/gnu/include -g -O2 -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.cpp -fPIC -DPIC -o .libs/common.o > common.cpp: In constructor 'ucc::script::script()': > common.cpp:287: error: call of overloaded 'pointer()' is ambiguous > /home/bjg/gnu/include/ucommon/generics.h:104: note: candidates are: ucc::pointer<T>::pointer(T*) [with T = ucc::script] > /home/bjg/gnu/include/ucommon/generics.h:99: note: ucc::pointer<T>::pointer() [with T = ucc::script] > common.cpp: In static member function 'static ucc::script* ucc::script::append(ucc::script*, const char*, ucc::script*)': > common.cpp:518: error: 'getline' is not a member of 'ucc::String' > common.cpp:586: error: no matching function for call to 'ucc::script::find(ucc::script&, const char*&)' > common.cpp:330: note: candidates are: static ucc::script::keyword* ucc::script::find(const char*) > common.cpp:397: note: static ucc::script::header* ucc::script::find(ucc::script*, const char*) > common.cpp:712: error: no matching function for call to 'ucc::script::find(ucc::script&, const char*&)' > common.cpp:330: note: candidates are: static ucc::script::keyword* ucc::script::find(const char*) > common.cpp:397: note: static ucc::script::header* ucc::script::find(ucc::script*, const char*) > make[3]: *** [common.lo] Error 1 > > _______________________________________________ > ccscript-devel mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ccscript-devel --------------050608020509000904040301 Content-Type: text/x-vcard; charset=utf-8; name="dyfet.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dyfet.vcf" begin:vcard fn:David Sugar n:Sugar;David org:GNU Telephony email;internet:[email protected] tel;work:+1 609 465 5336 url:http://www.gnutelephony.org version:2.1 end:vcard --------------050608020509000904040301 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ccscript-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccscript-devel --------------050608020509000904040301--