Florian Weimer <[EMAIL PROTECTED]> writes: | * Gabriel Dos Reis: | | > The first resistance seems to come from the pervasive use of the implicit | > conversion void* -> T*, mostly with storage allocating functions. | | This can be worked around on the C++ side, see the example code below. | It's a kludge, but it's not too bad IMHO.
Yes. However, if we were to use C++ in the source code, I know of a few numbers of ways to make the exsting code far better :-) However, the idea is to have the *C* source code through a C++ compiler -- for a number of reasons, for starter using C++ in GCC is not on the table. (And the implicit conversion is still unable to catch the various wrong codes I repported earlier and the confusion about xcalloc). -- Gaby