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: GCC warnings for unused global variables


On Fri, May 02, 2003 at 01:42:30PM +0200, Bonzini wrote:
> mankind is warned with at least a year of advance, and let's face that
> the fix is (more or less) as simple as
> grep -rl "^static.*const.*rcsid" | perl -i -pe '!$replaced_yet && s/^static.*const(.*rcsid)/volatile$1/ && ($replaced_yet = 1)'.

You've never worked on a large corporate source base have you?  Just
making the source change is only 1/2 the battle.  Getting the review
board (or release engineer, or what ever) approval for wide sweeping
changes can be quite difficult.
 
-- 
-- David  (obrien@FreeBSD.org)


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