Thomas Dickey wrote: > On Sun, Jan 16, 2005 at 10:44:14AM -0800, Tim Kientzle wrote: > >>Giorgos Keramidas suggested: >> >>>% (void)argv; >> >>I first saw this idiom for marking unused >>arguments over 10 years ago and have used >>it extensively since then. Very portable; >>highly recommended. > > > except of course for the compilers that warn about no effect... I've not seen that issue with this particular idiom. The compilers I've seen seem to recognize this as a special case. No doubt there are exceptions. TimReceived on Sun Jan 16 2005 - 18:47:49 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC