Bug 434442
Summary: | cone failed massrebuild attempt for GCC 4.3 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jesse Keating <jkeating> | ||||
Component: | cone | Assignee: | Steven Pritchard <steve> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | dcantrell, jonstanley | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-03-29 04:36:24 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 432425 | ||||||
Attachments: |
|
Description
Jesse Keating
2008-02-22 16:24:49 UTC
addmessage.C: In member function 'virtual void
mail::addMessage::assembleMessageRfc822(size_t&, std::string, size_t,
mail::callback&)':
addmessage.C:66: error: 'strerror' was not declared in this scope
addmessage.C: In member function 'virtual void
mail::addMessage::assembleMultipart(size_t&, std::string, const
std::vector<unsigned int, std::allocator<unsigned int> >&, std::string, const
mail::mimestruct::parameterList&, mail::callback&)':
addmessage.C:92: error: 'strerror' was not declared in this scope
addressbookadd.C: In member function 'void
mail::addressbook::Add::addedAll(std::string)':
addressbookadd.C:164: error: 'strerror' was not declared in this scope
make[3]: *** [addmessage.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
g++ -DHAVE_CONFIG_H -I. -I.. -I./.. -Wall -I/usr/include/ncursesw -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT mail.lo -MD -MP -MF .deps/mail.Tpo -c mail.C
-fPIC -DPIC -o .libs/mail.o
addmessageremoveattachments.C: In member function 'virtual void
mail::addMessage::assembleRemoveAttachmentsFrom(size_t&, mail::account*,
std::string, const mail::mimestruct&, const std::set<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> >
>, std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >&, mail::callback&)':
addmessageremoveattachments.C:230: error: 'strerror' was not declared in this scope
addmessageremoveattachments.C:261: error: 'strerror' was not declared in this scope
make[3]: *** [addressbookadd.lo] Error 1
addmessageremoveattachments.C: In member function 'virtual void
mail::addMessage::assembleRemoveAttachmentsHelper::fail(std::string)':
addmessageremoveattachments.C:379: error: 'strerror' was not declared in this scope
addressbook.C: In member function 'void mail::addressbook::setIndex(size_t,
std::string)':
addressbook.C:153: error: 'strerror' was not declared in this scope
addressbook.C: In member function 'void
mail::addressbook::searchNickname(std::string, std::vector<T,
std::allocator<_CharT> >&, mail::callback&)':
addressbook.C:225: error: there are no arguments to 'strerror' that depend on a
template parameter, so a declaration of 'strerror' must be available
addressbook.C:225: error: (if you use '-fpermissive', G++ will accept your code,
but allowing the use of an undeclared name is deprecated)
addressbook.C: In member function 'void mail::addressbook::getEntry(std::string,
std::vector<T, std::allocator<_CharT> >&, mail::callback&)':
addressbook.C:272: error: there are no arguments to 'strerror' that depend on a
template parameter, so a declaration of 'strerror' must be available
addressbook.C: In member function 'void
mail::addressbook::searchNickname(std::string, std::vector<T,
std::allocator<_CharT> >&, mail::callback&) [with T = mail::address]':
addressbook.C:248: instantiated from here
addressbook.C:225: error: 'strerror' was not declared in this scope
addressbook.C: In member function 'void
mail::addressbook::searchNickname(std::string, std::vector<T,
std::allocator<_CharT> >&, mail::callback&) [with T = mail::emailAddress]':
addressbook.C:252: instantiated from here
addressbook.C:225: error: 'strerror' was not declared in this scope
addressbook.C: In member function 'void mail::addressbook::getEntry(std::string,
std::vector<T, std::allocator<_CharT> >&, mail::callback&) [with T =
mail::address]':
addressbook.C:291: instantiated from here
addressbook.C:272: error: 'strerror' was not declared in this scope
addressbook.C: In member function 'void mail::addressbook::getEntry(std::string,
std::vector<T, std::allocator<_CharT> >&, mail::callback&) [with T =
mail::emailAddress]':
addressbook.C:296: instantiated from here
addressbook.C:272: error: 'strerror' was not declared in this scope
addmessageimport.C: In member function 'virtual void
mail::addMessage::assembleImportAttachment(size_t&, mail::account*, std::string,
const mail::mimestruct&, mail::callback&)':
addmessageimport.C:73: error: 'strerror' was not declared in this scope
addmessageimport.C:82: error: 'strerror' was not declared in this scope
addmessageimport.C: In member function 'virtual void
mail::addMessage::assembleImportHelper::success(std::string)':
addmessageimport.C:146: error: 'strerror' was not declared in this scope
addmessageimport.C:159: error: 'strerror' was not declared in this scope
Created attachment 299561 [details]
Compile against GCC 4.3
Here's a patch to use the includes defined by the C++ standard. Some were
missing, some were using the C version.
Steven, please submit this upstream.
Built as http://koji.fedoraproject.org/koji/buildinfo?buildID=44223 Please send the patch upstream, though. |