diagnostic_for_decl

Joseph S. Myers jsm28@cam.ac.uk
Tue Jul 25 14:12:00 GMT 2000


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



More information about the Gcc mailing list