Opened 12 years ago

Last modified 12 years ago

#1463 closed defect

error: call of overloaded 'append(const long unsigned int&)' is ambiguous — at Initial Version

Reported by: Anthony J. Bentley Owned by:
Priority: Nice to Have Milestone: Alpha 11
Component: Build & Packages Keywords:
Cc: Patch:

Description

When building r11863 on OpenBSD, I get the following error:

FCollada/FUtils/FUStringBuilder.h: In member function 'void FUStringBuilderT<Char>::set(const TYPE&) [with TYPE = long unsigned int, Char = char]': FCollada/FUtils/FUStringConversion.h:340: instantiated from 'static fstring FUStringConversion::ToFString(const T&) [with T = size_t]' FCollada/FCDocument/FCDGeometryInstance.cpp:90: instantiated from here FCollada/FUtils/FUStringBuilder.h:189: error: call of overloaded 'append(const long unsigned int&)' is ambiguous FCollada/FUtils/FUStringBuilder.h:96: note: candidates are: void FUStringBuilderT<Char>::append(Char) [with Char = char] FCollada/FUtils/FUStringBuilder.h:100: note: void FUStringBuilderT<Char>::append(const fm::stringT<CharT>&) [with Char = char] <near match> FCollada/FUtils/FUStringBuilder.h:105: note: void FUStringBuilderT<Char>::append(const Char*) [with Char = char] <near match> FCollada/FUtils/FUStringBuilder.h:115: note: void FUStringBuilderT<Char>::append(const FUStringBuilderT<Char>&) [with Char = char] FCollada/FUtils/FUStringBuilder.h:120: note: void FUStringBuilderT<Char>::append(int32) [with Char = char] FCollada/FUtils/FUStringBuilder.h:121: note: void FUStringBuilderT<Char>::append(uint32) [with Char = char] FCollada/FUtils/FUStringBuilder.h:122: note: void FUStringBuilderT<Char>::append(uint64) [with Char = char] FCollada/FUtils/FUStringBuilder.h:148: note: void FUStringBuilderT<Char>::append(float) [with Char = char] FCollada/FUtils/FUStringBuilder.h:149: note: void FUStringBuilderT<Char>::append(double) [with Char = char] FCollada/FUtils/FUStringBuilder.h:154: note: void FUStringBuilderT<Char>::append(const FMVector3&) [with Char = char] <near match> FCollada/FUtils/FUStringBuilder.h:155: note: void FUStringBuilderT<Char>::append(const FMVector4&) [with Char = char] <near match> FCollada/FCDocument/FCDGeometryMesh.cpp g++ -fvisibility=hidden -W -Wall -Wno-unused-parameter -Wno-unused-function -DLINUX -fpic -fno-strict-aliasing -O0 -g -D_DEBUG -DRETAIL -IFCollada pkg-config libxml-2.0 --cflags -MD -MF output/debug/FCollada/FCDocument/FCDGeometryMesh.d -c FCollada/FCDocument/FCDGeometryMesh.cpp -o output/debug/FCollada/FCDocument/FCDGeometryMesh.o

Change History (1)

by Anthony J. Bentley, 12 years ago

Attachment: 0ad-openbsd-build.txt added

Full build log

Note: See TracTickets for help on using tickets.