This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/6857: Missing space after pointer/reference types in warning.
- From: carlo at alinoe dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 29 May 2002 13:15:56 -0000
- Subject: c++/6857: Missing space after pointer/reference types in warning.
- Reply-to: carlo at alinoe dot com
>Number: 6857
>Category: c++
>Synopsis: Missing space after pointer/reference types in warning.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 29 06:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: carlo@alinoe.com
>Release: 3.0.x and 3.1
>Organization:
>Environment:
>Description:
Missing spaces in warning:
troep.cc:2: conflicting types for `int&foo'
troep.cc:1: previous declaration as `int*foo'
troep.cc:2: `foo' declared as reference but not initialized
Should be `int& foo' and `int* foo'.
>How-To-Repeat:
Compile:
int* foo;
int& foo;
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: