This is the mail archive of the gcc-bugs@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]

Re: Too many warnings.


> After all, it's unwise to define a macro thusly:
> 
>   #define macro(l,m) l++ && (m += 5)

Oh yes, a macro should always have parentheses everywhere.  And
indeed, you would probably not put parentheses around a zero level
expression.  So your suggestion might be a reasonable compromise
between complexity and precision.


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