You are not logged in.
Why can't I add add a comment after a c directive ?
For eg. I added #include <a.h> /* test comment*/
I am using 3.4.6 version of cpp
the preprocessor output with the following options -C -dI -dD -undef didn't give me the comment after #include
It only outputs if I add the comment in the next line.
It works as expected when I tried it out with an older version of cpp - 2.95.4
Offline
Comments should never appear in preprocessor output. What cpp are you using, and why do you care about the preprocessor output?
Offline
The preprocessor's output is not for you, it is for the compiler. The compiler does not need your comment.
Offline
The preprocessor's output is not for you, it is for the compiler. The compiler does not need your comment.
The machine has no use for your feelings!
Offline
saline wrote:The preprocessor's output is not for you, it is for the compiler. The compiler does not need your comment.
The machine has no use for your feelings!
That is why I love it.
Offline
cmtptr wrote:saline wrote:The preprocessor's output is not for you, it is for the compiler. The compiler does not need your comment.
The machine has no use for your feelings!
That is why I love it.
The machine has no use for your feelings!
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Wow. The irony was originally lost on me. Good show.
Offline
Wow. The irony was originally lost on me. Good show.
I wondered if it might have been discretely intentional. It made me smile all the same.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline