This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add a Solaris-specific format string check
On Fri, 16 Jul 2004, Daniel Jacobowitz wrote:
> -/* The C standard version C++ is treated as equivalent to
> - or inheriting from, for the purpose of format features supported. */
> -#define CPLUSPLUS_STD_VER STD_C94
Why is this moving to the header?
> +Solaris targets support the @code{cmn_err} (or @code{__cmn_err__}) format
> +check. @code{cmn_err} accepts a subset of the standard @code{printf}
> +conversions, and the two-argument @code{%b} conversion for displaying
> +bitfields. See the Solaris man page for @code{cmn_err} for more information.
That should be "bit-fields" with a hyphen.
> +target-specific format checking information for the @code{-Wformat}
@option{-Wformat}.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)