[PATCH] Add header guard to several header files.

Joseph S. Myers joseph@codesourcery.com
Wed Sep 17 16:13:00 GMT 2014


On Wed, 17 Sep 2014, Kito Cheng wrote:

> Updated patch

OK except for the changes to target-def.h and target-hooks-macros.h.  
(Those aren't exactly normal headers that could reasonably be included 
more than once in a source file; they have dependencies on where they get 
included and what's defined before/after inclusion.  So while I suspect 
the include guards would not cause any problems in those headers, it's not 
obvious they're desirable either.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list