public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fasbjx at free dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/60176] New: [C++11] void return value in std::list<>::insert() c++1 should be an iterator
Date: Thu, 13 Feb 2014 14:04:00 -0000 [thread overview]
Message-ID: <bug-60176-4@http.gcc.gnu.org/bugzilla/> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 2995 bytes --]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60176
Bug ID: 60176
Summary: [C++11] void return value in std::list<>::insert()
c++1 should be an iterator
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: fasbjx at free dot fr
Created attachment 32121
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32121&action=edit
Test case
/usr/bin/g++-4.8 -std=c++11 --version
g++-4.8 (Debian 4.8.2-14) 4.8.2
/usr/bin/g++-4.8 -std=c++11 /tmp/insert_error.cpp
/tmp/insert_error.cpp: In function âint main()â:
/tmp/insert_error.cpp:8:62: error: conversion from âvoidâ to non-scalar type
âstd::list<int>::iterator {aka std::_List_iterator<int>}â requested
std::list<int>::iterator it = v2.insert( v2.end(), v1, v1+5 );
>From gcc-bugs-return-443473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 13 14:15:25 2014
Return-Path: <gcc-bugs-return-443473-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27427 invoked by alias); 13 Feb 2014 14:15:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27370 invoked by uid 48); 13 Feb 2014 14:15:20 -0000
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/60174] ICE on ACATS cc3305a
Date: Thu, 13 Feb 2014 14:15:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ada
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bernd.edlinger at hotmail dot de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-60174-4-UFNJNc1lkW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60174-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60174-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-02/txt/msg01230.txt.bz2
Content-length: 249
http://gcc.gnu.org/bugzilla/show_bug.cgi?id`174
--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 32122
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id2122&actioníit
output from -fdump-tree-all
next reply other threads:[~2014-02-13 14:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-13 14:04 fasbjx at free dot fr [this message]
2014-02-13 17:28 ` [Bug libstdc++/60176] " redi at gcc dot gnu.org
2014-09-19 11:12 ` redi at gcc dot gnu.org
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-60176-4@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: link
Be 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).