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]

Re: Plugify Objective-C++ parser bits


This patch series (as regards the risk to normal builds with C++ but not 
Obj-C++, in particular) is manifestly inappropriate for Stage 4.  Please 
revert it now.

> 	* Make-lang.in (build/slashify): Plugify Objective-C++.

Using this sort of preprocessor is moving in the wrong direction.  We 
should aim to be using standard C - and in future C++ - features instead 
of GCC-specific hacks; if generated C files can be avoided, it's desirable 
to avoid them, and if you don't like long macros, use (inline if 
necessary) functions.  Editors and other tools understand and know how to 
work with standard macros; they don't know how to work with this 
special-case preprocessor.  In any case config/ is clearly the wrong place 
for any such tool.  And such a coding style issue should be decided 
globally, not by one maintainer randomly deciding to do things 
differently.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]