Flags parameter in comptypes

Zack Weinberg zack@codesourcery.com
Thu Jun 10 16:54:00 GMT 2004


"Joseph S. Myers" <jsm@polyomino.org.uk> writes:

> c-typeck.c:comptypes has a flags parameter that isn't documented in the 
> comment above the function.
[...]
> Thus the only point I can see in the parameter is that it makes the
> interface compatible with the C++ front end - but this isn't being used
> anywhere (no common code calls comptypes).  Do we really want to keep an
> unused parameter passed among four functions on the basis that it might be
> useful for interface compatibility in future?

Well, that *is* why I kept it; in particular, Mark and I have had
vague plans to merge the C and C++ front ends for some time.  But
since there is no schedule for doing that anytime soon, I have no
objection to a patch that removes the extra option.

zw



More information about the Gcc mailing list