Why can't I add add a comment after a c directive ?
I added the following line in a .c file
#include <a.h> /* test comment*/
I tried the c preprocessor (gcc -E) to output the preprocessed output.
I am using 3.4.6 version of gcc
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 as follows.
/* test comment*/
It works as expected when I tried it out with an older version of gcc - 2.95.4
Does this mean something is broken in the newer version of gcc or a new option is required to output the comment after the directive.