Flags parameter in comptypes
Mark Mitchell
mark@codesourcery.com
Sun Jun 13 08:11:00 GMT 2004
Zack Weinberg wrote:
>"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.
>
>
Yes, I agree, we should remove this flag.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com
More information about the Gcc
mailing list