Bug#337340: sentinel attribute should support non-NULL sentinels

2005-11-04 Thread Josh Triplett
Falk Hueffner wrote: > Josh Triplett <[EMAIL PROTECTED]> writes: >>The sentinel attribute tells GCC to ensure that the argument list of a >>variadic function always ends with a final NULL argument. It should be >>possible to use this attribute for a variadic function where the >>sentinel is some c

Bug#337340: sentinel attribute should support non-NULL sentinels

2005-11-04 Thread Falk Hueffner
Josh Triplett <[EMAIL PROTECTED]> writes: > The sentinel attribute tells GCC to ensure that the argument list of a > variadic function always ends with a final NULL argument. It should be > possible to use this attribute for a variadic function where the > sentinel is some constant other than NUL

Bug#337340: sentinel attribute should support non-NULL sentinels

2005-11-03 Thread Josh Triplett
Package: gcc-4.0 Version: 4.0.2-1 Severity: wishlist Tags: upstream The sentinel attribute tells GCC to ensure that the argument list of a variadic function always ends with a final NULL argument. It should be possible to use this attribute for a variadic function where the sentinel is some const