Command line options and pragmas

Robert Dewar dewar@adacore.com
Mon Jan 9 23:30:00 GMT 2006


DJ Delorie wrote:

> I had thought of keeping a table of pragma-settings-by-line-number
>
>and, for diagnostics with line number information, doing the lookup to
>see what was in effect at that line.  But the complications are worse
>than the benefits.
>  
>
Can you explain the complications you see. This seems like the way to go
to me, because it guarantees that the effect is precisely what the 
programmer
has asked for.





More information about the Gcc mailing list