This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
diagnostic_for_decl
- To: gcc at gcc dot gnu dot org
- Subject: diagnostic_for_decl
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 25 Jul 2000 22:12:40 +0100 (BST)
Why are declarations of functions in diagnostic.c split between
diagnostic.h and toplev.h?
I'd like diagnostic_for_decl to be non-static in order to create a
pedwarn_c99_with_decl function: does this make sense within the overall
diagnostic infrastructure, and if so, in which header should
diagnostic_for_decl be declared?
--
Joseph S. Myers
jsm28@cam.ac.uk