This is the mail archive of the gcc-help@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: C/C++ Preprocessor -- #ifdef to if(){....}


Hi Elden Crom,

Ahhh, I understand what you want to do now.

With just C++ and not editing the existing source code, I don't think you can do it.

With Perl (or Ruby or Python) all things are possible.  But it would probably be rather brittle.  I don't think Perl (et cetera) could be made robust, if the code is still undergoing churn.

Sincerely,
--Eljay


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