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

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