gcc/fixincludes/tests/base/sys/va_list.h
Rainer Orth 1e335ae287 re PR c++/46024 (g++.dg/warn/miss-format-1.C FAILs on Solaris 8 and 9)
fixincludes:
	PR c++/46024
	* inclhack.def (solaris_sys_va_list): New fix.
	* fixincl.x: Regenerate.
	* tests/base/sys/va_list.h: New test.

	gcc/testsuite:
	PR c++/46024
	* g++.dg/warn/miss-format-1.C: Enclose dg-error target list in braces.

From-SVN: r165731
2010-10-20 17:36:15 +00:00

23 lines
483 B
C

/* DO NOT EDIT THIS FILE.
It has been auto-edited by fixincludes from:
"fixinc/tests/inc/sys/va_list.h"
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
#if defined( SOLARIS_SYS_VA_LIST_CHECK )
#ifdef __GNUC__
typedef __builtin_va_list __va_list;
#else
#if defined(__STDC__) && !defined(__ia64)
typedef void *__va_list;
#else
typedef char *__va_list;
#endif
#endif
#endif /* SOLARIS_SYS_VA_LIST_CHECK */