public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28274]  New: Redeclaration with extra default argument doesn't work
@ 2006-07-05 18:29 amylaar at gcc dot gnu dot org
  2006-07-06  3:06 ` [Bug c++/28274] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-07-05 18:29 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

bash-2.05b$ cat defarg.C
int f (int i, int j = 0);
int f (int i = 0, int j);
bash-2.05b$ ./cc1plus defarg.C  -quiet
defarg.C:2: error: default argument missing for parameter 2 of ‘int f(int,
int)’
defarg.C:2: error: default argument given for parameter 2 of ‘int f(int, int)’
defarg.C:1: error: after previous specification in ‘int f(int, int)’


-- 
           Summary: Redeclaration with extra default argument doesn't work
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org


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


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

end of thread, other threads:[~2010-05-22 18:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-05 18:29 [Bug c++/28274] New: Redeclaration with extra default argument doesn't work amylaar at gcc dot gnu dot org
2006-07-06  3:06 ` [Bug c++/28274] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-07-06  3:08 ` pinskia at gcc dot gnu dot org
2006-07-17  3:08 ` mmitchel at gcc dot gnu dot org
2006-07-27 20:31 ` [Bug c++/28274] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
2006-07-28 11:35 ` patchapp at dberlin dot org
2006-08-03  2:31 ` reichelt at gcc dot gnu dot org
2006-08-03  2:34 ` reichelt at gcc dot gnu dot org
2006-08-03  2:41 ` reichelt at gcc dot gnu dot org
2006-08-03  3:10 ` reichelt at gcc dot gnu dot org
2006-09-22  8:04 ` pinskia at gcc dot gnu dot org
2009-02-11 21:29 ` jason at gcc dot gnu dot org
2009-02-11 21:31 ` [Bug c++/28274] [4.2/4.3/4.4 " jason at gcc dot gnu dot org
2009-02-25 10:33 ` andreasmeier80 at gmx dot de
2009-02-25 21:00 ` reichelt at gcc dot gnu dot org
2009-03-24 22:26 ` jason at gcc dot gnu dot org
2009-03-24 22:27 ` [Bug c++/28274] [4.2/4.3 " jason at gcc dot gnu dot org
2009-03-31 19:40 ` [Bug c++/28274] [4.3 " jsm28 at gcc dot gnu dot org
2009-08-04 12:37 ` rguenth at gcc dot gnu dot org
2010-05-22 18:17 ` rguenth 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).