This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Purpose of "zero-length format string" warning
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 31 Dec 2001 12:26:25 -0800
- Subject: Purpose of "zero-length format string" warning
- Organization: Wasabi Systems, Inc.
- Reply-to: thorpej at wasabisystems dot com
What is the purpose of the "zero-length format string" warning? A
zero-length format string (i.e. "") is perfectly legitimate, so it
seems wrong to me that GCC should warn about it.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>