This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

diagnostic_for_decl


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]