On Mon, Jan 09, 2006 at 01:46:21PM -0500, David Taylor wrote: > For a variety of reasons, we would like to be able to specify > individual compilation switches *within* individual files.
You don't need a gcc modification to do that; you can arrange to get the compiler flags from a comment in the file. A bit of scripting, and your build system can find these comments, and either use a default flag set or generate an error if the magic comment is not found.