bugClanLib - Bugs: bug #6451, ClanLib 0.7.5 XML string compare...

 
 

bug #6451: ClanLib 0.7.5 XML string compare bug

Submitted by:  None
Submitted on:  Mon 10 Nov 2003 07:34:49 AM UTC  
 
Category: clanCoreSeverity: 3 - Normal
Item Group: Build ProblemStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 0.7.4
Operating System: GNU/LinuxPlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 10 Nov 2003 07:34:49 AM UTC, original submission:

Compile error:

g++ -DPACKAGE_NAME=\"ClanLib\" -DPACKAGE_TARNAME=\"clanlib\" -DPACKAGE_VERSION=\"0.7.5\" "-DPACKAGE_STRING=\"ClanLib 0.7.5\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clanlib\" -DVERSION=\"0.7.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_KD_H=1 -DHAVE_SYS_VT_H=1 -DUSE_I386_ASSEMBLER=1 -DHAVE_FSTAB_H=1 -DHAVE_LIBZ=1 -DUSE_GETADDR=1 -I. -I. -I/usr/X11R6/include -g -O2 -I../../Sources/ -c XML/xml_tokenizer.cpp -Wp,-MD,XML/.deps/xml_tokenizer.TPlo -fPIC -DPIC -o XML/.libs/xml_tokenizer.o
XML/xml_tokenizer.cpp: In method `class CL_XMLToken CL_XMLTokenizer::next()':
XML/xml_tokenizer.cpp:111: no matching function for call to `string::compare (size_t &, int, char[3])'
/usr/include/g++-2/std/bastring.cc:398: candidates are: basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >::compare<char, string_char_traits<char>, alloc>(const basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > &, unsigned int, unsigned int) const
/usr/include/g++-2/std/bastring.cc:417: basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >::compare<char, string_char_traits<char>, alloc>(const char *, unsigned int, unsigned int) const
/usr/include/g++-2/std/bastring.h:360: basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >::compare<char, string_char_traits<char>, alloc>(const char *, unsigned int) const
XML/xml_tokenizer.cpp:125: no matching function for call to `string::compare (size_t &, int, char[8])'
/usr/include/g++-2/std/bastring.cc:398: candidates are: basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >::compare<char, string_char_traits<char>, alloc>(const basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > &, unsigned int, unsigned int) const
/usr/include/g++-2/std/bastring.cc:417: basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >::compare<char, string_char_traits<char>, alloc>(const char *, unsigned int, unsigned int) const
/usr/include/g++-2/std/bastring.h:360: basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >::compare<char, string_char_traits<char>, alloc>(const char *, unsigned int) const
make[2]: *** [XML/xml_tokenizer.lo] Error 1
make[2]: Leaving directory `/home/learfox/projects/pubsrc/ClanLib-0.7.5/Sources/Core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/learfox/projects/pubsrc/ClanLib-0.7.5/Sources'
make: *** [all-recursive] Error 1

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 12 Jan 2004 04:08:49 PM UTCsphairStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1