public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14913] New: Prototypes in error messages have no space after "const"
@ 2004-04-10 19:57 schnetter at aei dot mpg dot de
  2004-04-10 21:49 ` [Bug c++/14913] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: schnetter at aei dot mpg dot de @ 2004-04-10 19:57 UTC (permalink / raw)
  To: gcc-bugs

I received the following warning message, which has the "const" keywords and 
the following identifiers run together: 
 
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran-debug/build/CarpetRegrid/centre.cc:  
In function `int CarpetRegrid::Centre(constcGH*, constgh<3>&, int, int, int,  
constCarpet::jjvect&, constCarpet::jjvect&, constCarpet::jjvect&,  
constCarpet::jjvect&,  
__gnu_norm::vector<__gnu_norm::vector<__gnu_norm::vector<bbox<int, 3>,  
std::allocator<bbox<int, 3> > >, std::allocator<__gnu_norm::vector<bbox<int,  
3>, std::allocator<bbox<int, 3> > > > >,  
std::allocator<__gnu_norm::vector<__gnu_norm::vector<bbox<int, 3>,  
std::allocator<bbox<int, 3> > >, std::allocator<__gnu_norm::vector<bbox<int,  
3>, std::allocator<bbox<int, 3> > > > > > >&,  
__gnu_norm::vector<__gnu_norm::vector<vect<vect<bool, 2>, 3>,  
std::allocator<vect<vect<bool, 2>, 3> > >,  
std::allocator<__gnu_norm::vector<vect<vect<bool, 2>, 3>,  
std::allocator<vect<vect<bool, 2>, 3> > > > >&,  
__gnu_norm::vector<__gnu_norm::vector<int, std::allocator<int> >,  
std::allocator<__gnu_norm::vector<int, std::allocator<int> > > >&)':  
/home/eschnett/Calpha/Cactus/configs/einstein-gfortran-debug/build/CarpetRegrid/centre.cc:46:  
warning: comparison between signed and unsigned integer expressions

-- 
           Summary: Prototypes in error messages have no space after "const"
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schnetter at aei dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/14913] [3.5 Regression] Prototypes in error messages have no space after "const"
  2004-04-10 19:57 [Bug c++/14913] New: Prototypes in error messages have no space after "const" schnetter at aei dot mpg dot de
@ 2004-04-10 21:49 ` pinskia at gcc dot gnu dot org
  2004-05-13 11:31 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-10 21:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-10 19:54 -------
Confirmed, here is a simple example:
template <class t> int f(const t *a)
{
  aa;
}

test.cc: In function `int f(constt*)':
test.cc:3: error: `aa' was not declared in this scope

3.4.0 gives:
test.cc: In function `int f(const t*)':

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-10 19:55:00
               date|                            |
            Summary|Prototypes in error messages|[3.5 Regression] Prototypes
                   |have no space after "const" |in error messages have no
                   |                            |space after "const"
   Target Milestone|---                         |3.5.0
            Version|tree-ssa                    |3.5.0


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/14913] [3.5 Regression] Prototypes in error messages have no space after "const"
  2004-04-10 19:57 [Bug c++/14913] New: Prototypes in error messages have no space after "const" schnetter at aei dot mpg dot de
  2004-04-10 21:49 ` [Bug c++/14913] [3.5 Regression] " pinskia at gcc dot gnu dot org
@ 2004-05-13 11:31 ` pinskia at gcc dot gnu dot org
  2004-06-29  9:32 ` jan at etpmod dot phys dot tue dot nl
  2004-06-29 10:02 ` gdr at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-13 11:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-12 19:36 -------
*** Bug 15406 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |v dot haisman at sh dot cvut
                   |                            |dot cz


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/14913] [3.5 Regression] Prototypes in error messages have no space after "const"
  2004-04-10 19:57 [Bug c++/14913] New: Prototypes in error messages have no space after "const" schnetter at aei dot mpg dot de
  2004-04-10 21:49 ` [Bug c++/14913] [3.5 Regression] " pinskia at gcc dot gnu dot org
  2004-05-13 11:31 ` pinskia at gcc dot gnu dot org
@ 2004-06-29  9:32 ` jan at etpmod dot phys dot tue dot nl
  2004-06-29 10:02 ` gdr at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jan at etpmod dot phys dot tue dot nl @ 2004-06-29  9:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jan at etpmod dot phys dot tue dot nl  2004-06-29 09:27 -------
This has been fixed in CVS-HEAD. If memory serves this happened on 2004-06-27, 
as a result of the pretty-print patches in gcc/cp by Gabriel Dos Reis (see 
gcc/cp/Changelog). 

-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/14913] [3.5 Regression] Prototypes in error messages have no space after "const"
  2004-04-10 19:57 [Bug c++/14913] New: Prototypes in error messages have no space after "const" schnetter at aei dot mpg dot de
                   ` (2 preceding siblings ...)
  2004-06-29  9:32 ` jan at etpmod dot phys dot tue dot nl
@ 2004-06-29 10:02 ` gdr at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-06-29 10:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2004-06-29 09:32 -------
(In reply to comment #3)
> This has been fixed in CVS-HEAD. If memory serves this happened on 2004-06-27, 
> as a result of the pretty-print patches in gcc/cp by Gabriel Dos Reis (see 
> gcc/cp/Changelog). 

Indeed.  Thanks.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-06-29  9:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-10 19:57 [Bug c++/14913] New: Prototypes in error messages have no space after "const" schnetter at aei dot mpg dot de
2004-04-10 21:49 ` [Bug c++/14913] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-05-13 11:31 ` pinskia at gcc dot gnu dot org
2004-06-29  9:32 ` jan at etpmod dot phys dot tue dot nl
2004-06-29 10:02 ` gdr at gcc dot gnu dot org

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).