[tz] tzcode: please rename the "new" argument in icatalloc()

Paul Eggert eggert at cs.ucla.edu
Mon Mar 7 19:17:48 UTC 2016


On 03/07/2016 11:06 AM, Markus Scherer wrote:
> The "new" identifier prevents it from being compiled with a C++ compiler.

That problem was fixed in release 2015d, in a different way.

A lot of other things in tzcode prevent it from being compiled with a 
C++ compiler, e.g., implicit coercion between void * and other pointer 
types, or defining functions with different exception specifiers from 
what's in time.h. I'm not sure it's worth the maintenance hassle to 
munge tzcode until it fits into the intersection of C and C++.



More information about the tz mailing list