public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/11582] Odd error message with dynamically sized template arg printing
Date: Fri, 19 Apr 2013 17:13:00 -0000	[thread overview]
Message-ID: <bug-11582-4-cHk32Lj1rb@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-11582-4@http.gcc.gnu.org/bugzilla/>


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11582

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-04-19 17:13:38 UTC ---
The '[(((sizetype)<anonymous>) + 1)]' is just awful. If we don't know the
actual type there, that is "int [size()]", then we should just print 'int []'
or 'int [size_t]' or something similar to denote a VLA.

Surprisingly, Clang++ is even more confused:

test.cc:6:3: error: no matching function for call to 'f'
  f( buf ) ; 
  ^
test.cc:2:28: note: candidate template ignored: could not match 'int' against
'int'
template <int N>      void f(int (&)[N]); 
                           ^
test.cc:13:3: error: no matching function for call to 'f'
  f( buf ) ; 
  ^
test.cc:2:28: note: candidate template ignored: could not match 'int' against
'int'
template <int N>      void f(int (&)[N]); 
                           ^
>From gcc-bugs-return-420621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 19 17:46:42 2013
Return-Path: <gcc-bugs-return-420621-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8228 invoked by alias); 19 Apr 2013 17:46:42 -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 8196 invoked by uid 48); 19 Apr 2013 17:46:39 -0000
From: "nightstrike at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/56412] [4.8] "libtool: cygpath: command not found" for mingw32 host
Date: Fri, 19 Apr 2013 17:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: nightstrike at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID: <bug-56412-4-5Caf5nKkAI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56412-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56412-4@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-04/txt/msg01766.txt.bz2
Content-length: 210


http://gcc.gnu.org/bugzilla/show_bug.cgi?idV412

--- Comment #5 from nightstrike <nightstrike at gmail dot com> 2013-04-19 17:46:37 UTC ---
CYGPATH_W gets set correctly, but libtool seems to ignore it.


  parent reply	other threads:[~2013-04-19 17:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-11582-4@http.gcc.gnu.org/bugzilla/>
2012-02-02  0:30 ` pinskia at gcc dot gnu.org
2013-04-19 17:13 ` manu at gcc dot gnu.org [this message]
2013-04-22 10:10 ` gdr at gcc dot gnu.org
2013-04-22 10:38 ` manu at gcc dot gnu.org
2013-04-23  3:46 ` gdr at gcc dot gnu.org
2021-08-23 21:41 ` pinskia at gcc dot gnu.org
2021-08-23 22:45 ` bangerth at gmail dot com
2003-07-18 22:25 [Bug c++/11582] New: " bangerth at dealii dot org
2003-07-18 22:52 ` [Bug c++/11582] " gdr at integrable-solutions dot net
2003-07-19  2:31 ` pinskia at physics dot uc dot edu
2003-07-19  3:00 ` bangerth at dealii dot org
2003-08-17 12:43 ` pinskia at gcc dot gnu dot org
2003-08-23  0:51 ` dhazeghi at yahoo dot com
2003-11-23  7:04 ` pinskia at gcc dot gnu dot 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-11582-4-cHk32Lj1rb@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).