Shyjumon, Your message is all very interesting. But you sent your message to the bug-coreutils mailing list. We don't maintain gcc here and neither is this a C language mentoring forum. It would be better if you asked your question in a better forum for the topic. You probably wanted the [EMAIL PROTECTED] mailing list for asking for gcc help.
However your question is just a basic C question and probably one of the C language newsgroups such as comp.lang.c would be best. In any case be sure to review the FAQ to see if your question is there. http://c-faq.com/index.html Good luck! Bob Shyjumon wrote: > > Hello sir, > At first let me thank you people for making a wonderful compiler for all > the programmers working in C on Linux. > Yesterday I found a problem while developing a specific application. I > don't know is it bug or something but I just want to know why it is > implemented like the way it behaves. > I am enclosing the code below. > > main() > { > #if('l') + #if('k') > printf("yes!! i can\n"); > #endif > } > > It is working perfectly in my GCC compiler and not in other compilers. > > In my view the preprocessor is evaluating like an expression. > And if have not given the + operator, > it is giving me error that "missing binary operator" > I hope now the problem is clear to you. > And the thing is very much critical for us, we are working a > preprocessor for mobile application solutions. > So I request you to kindly give some suggestions in this regard. > Thanking you. > Yours truly, > > Shyjumon N > Software Engineer > Mob: +91 9945006965 > Cranes Software International Ltd > Bnagalore, India. > > _______________________________________________ > Bug-coreutils mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/bug-coreutils _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
