public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rmlong at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/44473] New: iterators already defined for std::vector when using std::decimal Date: Wed, 09 Jun 2010 03:15:00 -0000 [thread overview] Message-ID: <bug-44473-19297@http.gcc.gnu.org/bugzilla/> (raw) If checking empty then attempting to push back the following errors are reported: main.s: Assembler messages: main.s:2236: Error: symbol `_ZNK9__gnu_cxx17__normal_iteratorIPDfSt6vectorIDfSaIDfEEE4baseEv' is already defined main.s:2542: Error: symbol `_ZN9__gnu_cxx17__normal_iteratorIPDfSt6vectorIDfSaIDfEEEC2ERKS1_' is already defined Preprocessed file: http://dl.dropbox.com/u/2280/main.ii Example code: #include <decimal/decimal> #include <vector> int main() { std::vector<std::decimal::decimal32> vec; if (vec.empty()) { vec.push_back(std::decimal::decimal32(0)); } return 0; } -- Summary: iterators already defined for std::vector when using std::decimal Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rmlong at gmail dot com GCC build triplet: --with-gmp=/devsandbox/cxp/ext/compiler/gmp/ --with- mpc=/devsand GCC host triplet: RHEL5.5 GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44473
next reply other threads:[~2010-06-09 3:15 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-06-09 3:15 rmlong at gmail dot com [this message] 2010-06-09 3:16 ` [Bug c++/44473] " rmlong at gmail dot com 2010-06-09 3:17 ` rmlong at gmail dot com 2010-06-09 8:28 ` paolo dot carlini at oracle dot com 2010-06-09 10:22 ` redi at gcc dot gnu dot org 2010-06-09 20:14 ` joseph at codesourcery dot com 2010-06-09 21:48 ` paolo dot carlini at oracle dot com 2010-06-09 22:02 ` paolo dot carlini at oracle dot com 2010-06-10 21:58 ` janis at gcc dot gnu dot org 2010-06-10 23:23 ` paolo dot carlini at oracle dot com 2010-08-29 17:32 ` paolo dot carlini at oracle dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-44473-19297@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).