K&R patch for binutils bfd directory

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Oct 24 19:35:00 GMT 2002


> OK.  It offends my sense of style to see something like
> 
> 	copy = (boolean) (! finfo->info->keep_memory);

Yes, it's definitely ugly especially since the underlying implementation
is int.  I guess the thought was that enums have only a limited set of
values, so when an int is assigned to enum there should be a warning since
the value might not be in the set.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Binutils mailing list