Re: [dev] st: Large pile of code

From: <>
Date: Wed, 24 Apr 2013 17:14:49 -0400

On Wed, Apr 24, 2013, at 15:32, Kent Overstreet wrote:
> I switched to gnu99 for typeof() - it makes it possible to write min
> and max macros that don't evaluate their arguments twice, and IMO is a
> very worthwhile extension.

Wait, you switched _to_ gnu99? For _that_?

A) Why do min and max need to be macros at all? Also, where do you call
them on anything that's not an int?
B) Where do you call them on anything that has side effects (i.e. that
_needs_ to not be evaluated twice)?
Received on Wed Apr 24 2013 - 23:14:49 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 24 2013 - 23:24:05 CEST