[Bug c++/118367] Confusing error message with user generated static_assert or asm "expression cannot be used as a function"

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118367 Andrew Pinski changed: What|Removed |Added Summary|Confusing error message |Confusing error message

[Bug c++/118367] Confusing error message with user generated static_assert or asm "expression cannot be used as a function"

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118367 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > asm on the trunk has the same issue: That is because it uses the same code path.

[Bug c++/118367] Confusing error message with user generated static_assert "expression cannot be used as a function"

2025-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118367 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-08 Ever confirmed|0

[Bug c++/118367] New: Confusing error message with user generated static_assert "expression cannot be used as a function"

2025-01-08 Thread veeloxfire at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118367 Bug ID: 118367 Summary: Confusing error message with user generated static_assert "expression cannot be used as a function" Product: gcc Versi

[Bug ada/52033] confusing error message on illegal code with incomplete type

2024-10-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52033 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ada/116916] Confusing error message

2024-10-02 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116916 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug ada/116916] Confusing error message

2024-10-01 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116916 --- Comment #1 from simon at pushface dot org --- I think that "predefined" means something like "System or one of its children", and the message indicates that (as Arnaud told me, probably about 10 years ago) the language that the compiler sup

[Bug ada/116916] New: Confusing error message

2024-10-01 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116916 Bug ID: 116916 Summary: Confusing error message Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug target/110058] New: confusing error message for %c asm output modifier

2023-05-31 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110058 Bug ID: 110058 Summary: confusing error message for %c asm output modifier Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/91134] Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2022-05-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/91134] Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2022-05-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7a3ee77a2e33b8b8ad31aea27996ebe92a5c8d83 commit r13-759-g7a3ee77a2e33b8b8ad31aea27996ebe92a5c8d83 Author: Jakub Jelinek Date: Wed

[Bug c/91134] Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2022-05-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/97922] inline namespace caused confusing error message

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97922 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/103566] confusing error message for typedefs with initializers

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103566 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/103566] confusing error message for typedefs with initializers

2021-12-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103566 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/103566] New: confusing error message for typedefs with initializers

2021-12-05 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103566 Bug ID: 103566 Summary: confusing error message for typedefs with initializers Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/37519] confusing error message about attribute section name type

2021-09-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37519 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0 Resolution|---

[Bug c++/58363] Confusing error message for uncalled explicit destructor in expression

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58363 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-11 Severity|minor

[Bug c++/97922] inline namespace caused confusing error message

2020-11-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97922 --- Comment #1 from Jonathan Wakely --- Reduced: namespace test { inline namespace internal { struct Type1 { }; } } namespace test { struct Type1; //Type1 is actually in an inline namespace } template struct P { }; using Type = P;

[Bug c++/97922] inline namespace caused confusing error message

2020-11-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97922 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-11-20 Ever confirmed|0

[Bug c++/97922] New: inline namespace caused confusing error message

2020-11-19 Thread harry.linxd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97922 Bug ID: 97922 Summary: inline namespace caused confusing error message Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug sanitizer/96775] UBSan: confusing error message load of address with insufficient space

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96775 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug sanitizer/96775] UBSan: confusing error message load of address with insufficient space

2020-08-24 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96775 --- Comment #2 from Diane Meirowitz --- I have the latest llvm source code and it's the same. We will back port any fixes.

[Bug sanitizer/96775] UBSan: confusing error message load of address with insufficient space

2020-08-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96775 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/google/s

[Bug sanitizer/96775] New: UBSan: confusing error message load of address with insufficient space

2020-08-24 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96775 Bug ID: 96775 Summary: UBSan: confusing error message load of address with insufficient space Product: gcc Version: unknown Status: UNCONFIRMED Severity

[Bug c++/91138] Confusing error message: "maybe you meant to use '->' ?" fix-it when -> is already used

2020-01-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91138 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2020-01-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #12 from Martin Liška --- (In reply to qinzhao from comment #11) > Hi, (In reply to Martin Liška from comment #10) > > Fixed on trunk. > I am trying to back port the fix for 89832 into our company's gcc8.2.1 > release. > by looking a

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-12-20 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #11 from qinzhao at gcc dot gnu.org --- Hi, (In reply to Martin Liška from comment #10) > Fixed on trunk. I am trying to back port the fix for 89832 into our company's gcc8.2.1 release. by looking at the patch, it's huge, and it's inc

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-08-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-08-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #9 from Martin Liška --- Author: marxin Date: Wed Aug 14 08:47:11 2019 New Revision: 274426 URL: https://gcc.gnu.org/viewcvs?rev=274426&root=gcc&view=rev Log: Libsanitizer merge from trunk r368656. 2019-08-14 Martin Liska

[Bug c/91134] Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2019-07-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 --- Comment #5 from Jonathan Wakely --- Bug 91138 created for the C++ case.

[Bug c++/91138] New: Confusing error message: "maybe you meant to use '->' ?" fix-it when -> is already used

2019-07-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91138 Bug ID: 91138 Summary: Confusing error message: "maybe you meant to use '->' ?" fix-it when -> is already used Product: gcc Version: 10.0

[Bug c/91134] Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2019-07-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 Jonathan Wakely changed: What|Removed |Added Version|6.3.0 |10.0 --- Comment #4 from Jonathan Wake

[Bug c/91134] Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2019-07-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 --- Comment #3 from Jonathan Wakely --- (In reply to Emil Fihlman from comment #0) > fiesh on #gcc@Freenode gave these ideas regarding this: > > 2019-07-10 18:11:03 +0300 < fiesh> I think that `server->thing` is probably > replaced by `(*server.

[Bug c/91134] Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2019-07-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug c/91134] Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2019-07-10 Thread emil.fihlman at aalto dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 --- Comment #1 from Emil Fihlman --- The fix programming side is of course just wrapping *server in parentheses but the error message should still be amended imho.

[Bug c/91134] New: Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used

2019-07-10 Thread emil.fihlman at aalto dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91134 Bug ID: 91134 Summary: Confusing error message: error: ‘*server’ is a pointer; did you mean to use ‘->’? when -> is used Product: gcc Version: 6.3.0 Status: UNCON

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-06-16 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #8 from Martin Liška --- Patch was merged in upstream.

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-04-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 Martin Liška changed: What|Removed |Added Target Milestone|9.0 |10.0

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-04-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #7 from Martin Liška --- (In reply to qinzhao from comment #6) > one question to Martin: > has the proposed patch been committed in gcc9 upstream? > > my understanding is the proposed patch is for LLVM source base, not for GCC. > are

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-04-10 Thread qinzhao at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #6 from qinzhao at gcc dot gnu.org --- one question to Martin: has the proposed patch been committed in gcc9 upstream? my understanding is the proposed patch is for LLVM source base, not for GCC. are you planning to port the patch to

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-03-28 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #5 from Diane Meirowitz --- Yes, much better! Again, thank you for fixing this so quickly and completely!

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-03-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #4 from Martin Liška --- (In reply to Diane Meirowitz from comment #3) > Thank you for fixing this so quickly! This is a huge improvement. Be my guest! > > Here are some suggestions to make it even better for those without a lot of

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-03-27 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #3 from Diane Meirowitz --- Thank you for fixing this so quickly! This is a huge improvement. Here are some suggestions to make it even better for those without a lot of knowledge of ASAn. I think this will be the case for some peopl

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-03-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 --- Comment #2 from Martin Liška --- I propose a patch to upstream: https://reviews.llvm.org/D59876

[Bug sanitizer/89832] confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-03-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug sanitizer/89832] New: confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='"

2019-03-26 Thread diane2332 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89832 Bug ID: 89832 Summary: confusing error message when there is a problem with ASAN_OPTIONS "ERROR: expected '='" Product: gcc Version: unknown

[Bug ada/52033] confusing error message on illegal code with incomplete type

2015-12-06 Thread ebotcazou at gcc dot gnu.org
||2015-12-06 CC||ebotcazou at gcc dot gnu.org Summary|Compiler assertion, |confusing error message on |apparently due to |illegal code with |incomplete type

[Bug c++/57941] [c++11] confusing error message with invalid constexpr constructor in template struct

2014-11-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57941 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/57941] [c++11] confusing error message with invalid constexpr constructor in template struct

2014-11-03 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57941 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com --- Comm

[Bug c++/58363] Confusing error message for uncalled explicit destructor in expression

2013-09-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58363 --- Comment #1 from Paolo Carlini --- pretty printing issue fixed for 4.9.0 in r202401: 58363.C:6:11: note: cannot convert ‘m.~f’ (type ‘void’) to type ‘int’

[Bug c++/58363] New: Confusing error message for uncalled explicit destructor in expression

2013-09-08 Thread ambrus at math dot bme.hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58363 Bug ID: 58363 Summary: Confusing error message for uncalled explicit destructor in expression Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: minor

[Bug c++/57941] [c++11] confusing error message with invalid constexpr constructor in template struct

2013-07-20 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57941 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/57941] New: [c++11] confusing error message with invalid constexpr constructor in template struct

2013-07-20 Thread f.heckenb...@fh-soft.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57941 Bug ID: 57941 Summary: [c++11] confusing error message with invalid constexpr constructor in template struct Product: gcc Version: 4.7.2 Status: UNCONFIRMED

[Bug c++/45607] [4.4 Regression] Confusing error message

2012-03-13 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45607 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/36659] Confusing error message order 'error: ‘functionname’ declared as an ‘inline’ variable'

2011-10-14 Thread donmgeso at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36659 --- Comment #6 from Don 2011-10-14 14:13:59 UTC --- Yeah.., soon realized that after looking into it. Thanks.

[Bug c++/36659] Confusing error message order 'error: ‘functionname’ declared as an ‘inline’ variable'

2011-10-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36659 --- Comment #5 from Jonathan Wakely 2011-10-14 13:14:34 UTC --- (In reply to comment #4) > Is there a fix for this or is this version flawed? Can we be certain this bug > will be fixed by the next release? This is a basic declaration and should

[Bug c++/36659] Confusing error message order 'error: ‘functionname’ declared as an ‘inline’ variable'

2011-10-14 Thread donmgeso at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36659 --- Comment #4 from Don 2011-10-14 13:11:09 UTC --- Found this bug while trying to compile Spidermonkey 1.85 with gcc 4.6 (g++). nanojit.h:183:26: error: 'isS32' declared as an 'inline' variable. The code is: static inline bool isS32(intptr_t

[Bug c++/36659] Confusing error message order 'error: ‘functionname’ declared as an ‘inline’ variable'

2011-10-14 Thread donmgeso at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36659 Don changed: What|Removed |Added CC||donmgeso at hotmail dot com --- Comment #3 from Don

[Bug c++/45607] [4.3/4.4 Regression] Confusing error message

2011-04-16 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45607 Jakub Jelinek changed: What|Removed |Added Target Milestone|4.4.6 |4.4.7

[Bug c++/36659] Confusing error message order 'error: ‘functionname’ declared as an ‘inline’ variable'

2010-11-15 Thread dan at danny dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36659 Dan Horak changed: What|Removed |Added CC||dan at danny dot cz --- Comment #2 from Dan H

[Bug c++/45607] [4.3/4.4 Regression] Confusing error message

2010-10-01 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45607 Jakub Jelinek changed: What|Removed |Added Target Milestone|4.4.5 |4.4.6

[Bug c++/45490] Confusing error message for local type arguments

2010-09-30 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45490 Andrew Pinski changed: What|Removed |Added Target|x86_64-suse-linux | Status|UNCONFIRMED

[Bug c++/45607] [4.3/4.4 Regression] Confusing error message

2010-09-09 Thread rguenth at gcc dot gnu dot org
/4.4 Regression] | |Confusing error message Target Milestone|--- |4.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45607

[Bug c++/45490] Confusing error message for local type arguments

2010-09-01 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-09-01 21:37 --- Not to mention it is accepted with -std=c++0x as local types in C++0x can be now template arguments. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45490

[Bug c++/45490] Confusing error message for local type arguments

2010-09-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-09-01 21:36 --- On the trunk we get: t.cc: In function ‘void foo()’: t.cc:9:39: error: no matching function for call to ‘distance(foo()::my_iter, foo()::my_iter)’ /home/apinski/local-gcc/lib/gcc/x86_64-unknown-linux-gnu/4.6

[Bug c++/45490] New: Confusing error message for local type arguments

2010-09-01 Thread giecrilj at stegny dot 2a dot pl
message is highly confusing. Both Intel and Comeau give the following message: a template argument may not reference a local type (Microsoft groks the construct all right.) -- Summary: Confusing error message for local type arguments Product: gcc Version: 4.4.1

[Bug c/37519] confusing error message about attribute section name type

2008-09-14 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-09-14 10:09 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c/37519] confusing error message about attribute section name type

2008-09-14 Thread nm127 at freemail dot hu
--- Comment #1 from nm127 at freemail dot hu 2008-09-14 09:18 --- Created an attachment (id=16317) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16317&action=view) add a new error message for attribute section parameter type check This patch separates the type check of the attribu

[Bug c/37519] New: confusing error message about attribute section name type

2008-09-14 Thread nm127 at freemail dot hu
hould have string parameter and not a number (1). I expect an error message like this: test7.c:2: error: section attribute name must be string for 'x' -- Summary: confusing error message about attribute section name type Product: gcc

[Bug c++/36659] Confusing error message order 'error: ‘functionname’ declared as an ‘inline’ variable'

2008-06-28 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-06-28 21:25 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|norma

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-16 Thread rguenther at suse dot de
--- Comment #10 from rguenther at suse dot de 2007-11-16 09:45 --- Subject: Re: [4.3 Regression] Confusing error message with missing #include On Thu, 15 Nov 2007, pcarlini at suse dot de wrote: > --- Comment #8 from pcarlini at suse dot de 2007-11-15 19:07 --- >

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2007-11-15 21:54 --- Awesome. Looks good. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34105

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2007-11-15 18:14 --- I'm finishing testing a complete patch. -- pcarlini at suse dot de changed: What|Removed |Added A

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2007-11-15 19:07 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread paolo at gcc dot gnu dot org
--- Comment #7 from paolo at gcc dot gnu dot org 2007-11-15 19:05 --- Subject: Bug 34105 Author: paolo Date: Thu Nov 15 19:05:17 2007 New Revision: 130207 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130207 Log: 2007-11-15 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-11-15 13:04 --- Created an attachment (id=14555) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14555&action=view) Draft patch for normal mode -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34105

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2007-11-15 13:09 --- By the way, while we are talking about those QoI issues, I think it's in any case better not including something like algorithmfwd.h in algobase.h: it's relatively big and we are doing our best to keep algobase.h, the core

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-11-15 13:06 --- Something like the attached (lightly tested) fixed the problem for normal mode, the error becomes: 34105.cc: In function ‘int main()’: 34105.cc:8: error: ‘find’ is not a member of ‘std’ however, it doesn't for parallel mo

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-11-15 13:10 --- I meant bits/stl_algobase.h, of course. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34105

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-11-15 11:59 --- Note that the issue is unrelated to the header optimization work: is caused by algorithmfwd.h, added in the occasion of the parallel STL work. I'm going to look a bit into it, anyway, if a simple solution I have in mind wil

[Bug libstdc++/34105] New: [4.3 Regression] Confusing error message with missing #include

2007-11-15 Thread rguenth at gcc dot gnu dot org
ay). Can we improve this situation by not making algorithm half-way available so we can raise a meaningful error instead? -- Summary: [4.3 Regression] Confusing error message with missing #include Product: gcc Version: 4.3.0 Status: UNCONFI

[Bug fortran/30611] [4.1 only] Confusing error message for negative ncopies in REPEAT

2007-02-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-02-16 15:55 --- Fixed on 4.2 and mainline. Closing. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/30611] [4.2/4.1 only] Confusing error message for negative ncopies in REPEAT

2007-02-16 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-02-16 12:19 --- Subject: Bug 30611 Author: fxcoudert Date: Fri Feb 16 12:19:01 2007 New Revision: 122039 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122039 Log: 2007-02-16 Francois-Xavier Coudert <[EMAIL PROTECTED]>

[Bug fortran/30611] Confusing error message for negative ncopies in REPEAT

2007-02-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-02-04 21:33 --- Subject: Bug 30611 Author: fxcoudert Date: Sun Feb 4 21:33:10 2007 New Revision: 121581 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121581 Log: PR fortran/30611 * trans-intrinsic.c (g

[Bug fortran/30611] Confusing error message for negative ncopies in REPEAT

2007-02-01 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Severity|enhancement |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30611

[Bug fortran/30611] Confusing error message for negative ncopies in REPEAT

2007-02-01 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot |dot org

[Bug fortran/30611] Confusing error message for negative ncopies in REPEAT

2007-02-01 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-02-01 13:51 --- With a little variation, you get a better error message, although "augument" part could be improved :) $ cat u.f90 integer :: i i = -1 print *, repeat ("", i) end $ gfortran u.f90 && ./a.out Fortran runti

[Bug fortran/30611] New: Confusing error message for negative ncopies in REPEAT

2007-01-27 Thread tkoenig at gcc dot gnu dot org
peat ("a", i) end program main $ gfortran rep.f90 $ ./a.out Fortran runtime error: Attempt to allocate a negative amount of memory. -- Summary: Confusing error message for negative ncopies in REPEAT Product: gcc Version: 4.3.0 Status: UNCONFI

confusing error-message

2006-07-03 Thread Martin R.
Hi, the following code: struct S { void f(int x) {} }; int main() { S s; s.f(3); } would produce: error: no matching function for call to 'S::f(int)' note: candidates are: void S::f(int&) but should be something like "trying to convert non-variable to reference"... Regards, Martin

[Bug c++/26329] confusing error message for ambiguous namespaces declarations

2006-02-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-16 21:50 --- Fixed in 4.1.0 and above: t.cc:8: error: reference to ‘NsIn’ is ambiguous t.cc:4: error: candidates are: namespace NsIn { } t.cc:2: error: namespace NsOut::NsIn { } t.cc:8: error: expected ‘,’ or ‘...

[Bug c++/26329] New: confusing error message for ambiguous namespaces declarations

2006-02-16 Thread vz-gcc at zeitlins dot org
(Debian 1:3.3.6-10) gcc version 3.4.5 (Debian 3.4.5-1) gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5) -- Summary: confusing error message for ambiguous namespaces declarations Product: gcc Version: 4.0.3 Status: UNCONFIRMED

[Bug c++/13390] Confusing error message with wrong line number

2004-07-28 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-28 14:45 --- *** This bug has been marked as a duplicate of 8570 *** -- What|Removed |Added