This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Sep 21, 2004, at 12:00 AM, Mark Mitchell wrote:
Why make an extra hook?
Because that will keep more of the Objective-C++ code in the Objective-C/C++ subdirectory, where it ideally belongs. Thinking of hooks like virtual functions, what you want to do is derive from the C++-compiler base class.
If that is so, then really we should not be checking the language dialect at all in the C front-end for C++ but we don't so because of speed reasons, we do we have to it here.
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |