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: Could I obtain the forms needed to make a contribution?


Eric Curtin <ericcurtin17@gmail.com> writes:
> I want to add a compiler warning, if it will get accepted. It's a
> -Wlines warning. My employer bans the __LINE__ macro as well as the
> ones warned by the -Wdate-time warning, because there is a consensus
> that the addition of whitespace or comments should not yield different
> binary output for our project. Would this patch get accepted?

Sounds like a useful feature to me FWIW.  Perhaps we should have
a general warning that takes macro names as arguments, with __LINE__
being just one possibility.  That might be over-designing it though. :-)

Richard


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