This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/33305] We should warn about empty macro arguments
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2008 10:32:43 -0000
- Subject: [Bug preprocessor/33305] We should warn about empty macro arguments
- References: <bug-33305-578@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from aph at gcc dot gnu dot org 2008-07-03 10:32 -------
Subject: Bug 33305
Author: aph
Date: Thu Jul 3 10:31:50 2008
New Revision: 137414
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137414
Log:
2008-06-13 Andrew Haley <aph@redhat.com>
PR preprocessor/33305
* macro.c (replace_args): Print a warning for empty macro
arguments in C89 and C++.
Modified:
trunk/libcpp/ChangeLog
trunk/libcpp/macro.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33305