> The first one is fixable with an explicit cast (ugly but works), but the > second one is more problematic. It means we can't write stuff like > > USBPort uports[MAX(MAXPORTS_2, MAXPORTS_3)]; > > when not in a function. So we either need a dumb version of MIN/MAX, or > scrape the idea altogether.
const_max() for stuff which is a compile time constant maybe? cheers, Gerd