Bug 837970 - cxxtools is FTBFS on ARM
Summary: cxxtools is FTBFS on ARM
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cxxtools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: MartinKG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2012-07-05 23:30 UTC by Peter Robinson
Modified: 2012-10-09 14:32 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2012-10-09 14:32:08 UTC


Attachments (Terms of Use)

Description Peter Robinson 2012-07-05 23:30:09 UTC
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=944465

csvparser.cpp: In member function 'void cxxtools::CsvParser::advance(cxxtools::Char)':
csvparser.cpp:79:15: error: ambiguous overload for 'operator==' in 'ch == 10u'
csvparser.cpp:79:15: note: candidates are:
csvparser.cpp:79:15: note: operator==(int, unsigned int) <built-in>
In file included from ../include/cxxtools/string.h:34:0,
                 from ../include/cxxtools/csvparser.h:33,
                 from csvparser.cpp:29:
../include/cxxtools/char.h:211:25: note: bool cxxtools::operator==(const cxxtools::Char&, int)
../include/cxxtools/char.h:206:25: note: bool cxxtools::operator==(const cxxtools::Char&, char)
../include/cxxtools/char.h:201:25: note: bool cxxtools::operator==(const cxxtools::Char&, const cxxtools::Char&)
csvparser.cpp:85:38: error: ambiguous overload for 'operator==' in 'ch == 95u'
csvparser.cpp:85:38: note: candidates are:
csvparser.cpp:85:38: note: operator==(int, unsigned int) <built-in>
In file included from ../include/cxxtools/string.h:34:0,
                 from ../include/cxxtools/csvparser.h:33,
                 from csvparser.cpp:29:
../include/cxxtools/char.h:211:25: note: bool cxxtools::operator==(const cxxtools::Char&, int)
../include/cxxtools/char.h:206:25: note: bool cxxtools::operator==(const cxxtools::Char&, char)
../include/cxxtools/char.h:201:25: note: bool cxxtools::operator==(const cxxtools::Char&, const cxxtools::Char&)
csvparser.cpp:89:28: error: ambiguous overload for 'operator==' in 'ch == 10u'
csvparser.cpp:89:28: note: candidates are:
csvparser.cpp:89:28: note: operator==(int, unsigned int) <built-in>
In file included from ../include/cxxtools/string.h:34:0,
                 from ../include/cxxtools/csvparser.h:33,
                 from csvparser.cpp:29:
../include/cxxtools/char.h:211:25: note: bool cxxtools::operator==(const cxxtools::Char&, int)
../include/cxxtools/char.h:206:25: note: bool cxxtools::operator==(const cxxtools::Char&, char)
../include/cxxtools/char.h:201:25: note: bool cxxtools::operator==(const cxxtools::Char&, const cxxtools::Char&)
csvparser.cpp:89:43: error: ambiguous overload for 'operator==' in 'ch == 13u'
csvparser.cpp:89:43: note: candidates are:
csvparser.cpp:89:43: note: operator==(int, unsigned int) <built-in>

Comment 1 Gwyn Ciesla 2012-09-21 19:57:27 UTC
If, for example, I cast both sides to int in the comparisons, this builds.

Looking for a better way. . .

Comment 2 Gwyn Ciesla 2012-09-22 15:00:33 UTC
Committed, built on primary, built on my pi, scratch built on arm.koji.  Please test tntnet, or instruct me in how best to do so.

If anyone finds a better way than a pile of casts, please go for it.

Comment 3 Fedora Update System 2012-09-24 12:41:38 UTC
cxxtools-2.1.1-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/cxxtools-2.1.1-5.fc18

Comment 4 Fedora Update System 2012-09-24 20:02:36 UTC
Package cxxtools-2.1.1-5.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cxxtools-2.1.1-5.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14675/cxxtools-2.1.1-5.fc18
then log in and leave karma (feedback).

Comment 5 Peter Robinson 2012-10-09 14:32:08 UTC
Fixed and pushed to stable


Note You need to log in before you can comment on or make changes to this bug.