https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108311

            Bug ID: 108311
           Summary: system.h defines va_copy but we require C++11 compiler
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: internal-improvement
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

va_copy is part of C++11 so there is no reason for system.h to do:
#ifndef va_copy
# ifdef __va_copy
#   define va_copy(d,s)  __va_copy (d, s)
# else
#   define va_copy(d,s)  ((d) = (s))
# endif
#endif

Reply via email to