[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 constant other than NULL, as long as the value of the
constant can be determined at compile time and supplied as a parameter
to the sentinel attribute.

- Josh Triplett

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: