public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36799] New: error on va_copy in -std=c++0x mode
@ 2008-07-10 22:58 sebor at roguewave dot com
2008-07-10 23:04 ` [Bug c++/36799] " sebor at roguewave dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: sebor at roguewave dot com @ 2008-07-10 22:58 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 754 bytes --]
The program below compiles successfully in gnu++0x mode but fails to compile
in c++0x mode. Since va_copy() is in C++ 0x I expect the program to compile
regardless.
$ cat t.cpp && g++ t.cpp -std=c++0x
#include <cstdarg>
int main ()
{
va_list x;
va_list y;
va_copy (y, x);
}
t.cpp: In function int main():
t.cpp:7: error: va_copy was not declared in this scope
--
Summary: error on va_copy in -std=c++0x mode
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sebor at roguewave dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/36799] error on va_copy in -std=c++0x mode
2008-07-10 22:58 [Bug c++/36799] New: error on va_copy in -std=c++0x mode sebor at roguewave dot com
@ 2008-07-10 23:04 ` sebor at roguewave dot com
2008-12-27 22:03 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: sebor at roguewave dot com @ 2008-07-10 23:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from sebor at roguewave dot com 2008-07-10 23:04 -------
I should have mentioned: the same problem exists with <stdarg.h>.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/36799] error on va_copy in -std=c++0x mode
2008-07-10 22:58 [Bug c++/36799] New: error on va_copy in -std=c++0x mode sebor at roguewave dot com
2008-07-10 23:04 ` [Bug c++/36799] " sebor at roguewave dot com
@ 2008-12-27 22:03 ` pinskia at gcc dot gnu dot org
2008-12-29 19:50 ` [Bug c++/36799] [c++0x] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-27 22:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-27 22:00 -------
Confirmed.
http://gcc.gnu.org/ml/libstdc++/2008-11/msg00003.html
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2008-12-27 22:00:47
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/36799] [c++0x] error on va_copy in -std=c++0x mode
2008-07-10 22:58 [Bug c++/36799] New: error on va_copy in -std=c++0x mode sebor at roguewave dot com
2008-07-10 23:04 ` [Bug c++/36799] " sebor at roguewave dot com
2008-12-27 22:03 ` pinskia at gcc dot gnu dot org
@ 2008-12-29 19:50 ` pinskia at gcc dot gnu dot org
2008-12-30 0:57 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-29 19:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-29 19:48 -------
I am going to take care of this.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/36799] [c++0x] error on va_copy in -std=c++0x mode
2008-07-10 22:58 [Bug c++/36799] New: error on va_copy in -std=c++0x mode sebor at roguewave dot com
` (2 preceding siblings ...)
2008-12-29 19:50 ` [Bug c++/36799] [c++0x] " pinskia at gcc dot gnu dot org
@ 2008-12-30 0:57 ` pinskia at gcc dot gnu dot org
2009-03-27 7:20 ` andreasmeier80 at gmx dot de
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-30 0:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-30 00:55 -------
I posted a new patch for this, with a changelog and such:
http://gcc.gnu.org/ml/gcc-patches/2008-12/msg01256.html
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|http://gcc.gnu.org/ml/gcc- |http://gcc.gnu.org/ml/gcc-
|patches/2008- |patches/2008-
|11/msg00146.html |12/msg01256.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/36799] [c++0x] error on va_copy in -std=c++0x mode
2008-07-10 22:58 [Bug c++/36799] New: error on va_copy in -std=c++0x mode sebor at roguewave dot com
` (3 preceding siblings ...)
2008-12-30 0:57 ` pinskia at gcc dot gnu dot org
@ 2009-03-27 7:20 ` andreasmeier80 at gmx dot de
2009-03-27 13:29 ` hjl at gcc dot gnu dot org
2009-04-16 16:07 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: andreasmeier80 at gmx dot de @ 2009-03-27 7:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from andreasmeier80 at gmx dot de 2009-03-27 07:20 -------
Approved: http://gcc.gnu.org/ml/gcc-patches/2009-03/msg01082.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/36799] [c++0x] error on va_copy in -std=c++0x mode
2008-07-10 22:58 [Bug c++/36799] New: error on va_copy in -std=c++0x mode sebor at roguewave dot com
` (4 preceding siblings ...)
2009-03-27 7:20 ` andreasmeier80 at gmx dot de
@ 2009-03-27 13:29 ` hjl at gcc dot gnu dot org
2009-04-16 16:07 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-03-27 13:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from hjl at gcc dot gnu dot org 2009-03-27 13:28 -------
Subject: Bug 36799
Author: hjl
Date: Fri Mar 27 13:28:44 2009
New Revision: 145106
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145106
Log:
gcc/
2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR c++/36799
* ginclude/stdarg.h (va_copy): Define also for
__GXX_EXPERIMENTAL_CXX0X__.
gcc/testsuite/
2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR c++/36799
* g++.dg/other/var_copy-1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/other/var_copy-1.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ginclude/stdarg.h
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/36799] [c++0x] error on va_copy in -std=c++0x mode
2008-07-10 22:58 [Bug c++/36799] New: error on va_copy in -std=c++0x mode sebor at roguewave dot com
` (5 preceding siblings ...)
2009-03-27 13:29 ` hjl at gcc dot gnu dot org
@ 2009-04-16 16:07 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-16 16:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2009-04-16 16:07 -------
Fixed in 4.4.0.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36799
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-04-16 16:07 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-10 22:58 [Bug c++/36799] New: error on va_copy in -std=c++0x mode sebor at roguewave dot com
2008-07-10 23:04 ` [Bug c++/36799] " sebor at roguewave dot com
2008-12-27 22:03 ` pinskia at gcc dot gnu dot org
2008-12-29 19:50 ` [Bug c++/36799] [c++0x] " pinskia at gcc dot gnu dot org
2008-12-30 0:57 ` pinskia at gcc dot gnu dot org
2009-03-27 7:20 ` andreasmeier80 at gmx dot de
2009-03-27 13:29 ` hjl at gcc dot gnu dot org
2009-04-16 16:07 ` pinskia 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).