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]
Other format: [Raw text]

Re: Command line options and pragmas


David Taylor wrote:

. For starters, does this sound reasonable? That is, if I implemented
this, and we contributed it back, would it be considered? Or would it
likely be rejected out of hand?


To me, it seems better to handle this in the external environment with appropriate
build tools. For example, in the GNAT world, we rely on the project manager to
handle this kind of thing, using a project file that specifies appropriate options, on
a file by file basis if needed).


Putting the options in the source file seems a confusion of concerns, since these
are highly non-portable and have nothing to do with the source language.





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