can we define a comment?

Burak Serdar bserdar@ieee.org
Tue May 16 03:17:00 GMT 2006


How about

#define COMMENT /
...

COMMENT/  This is a comment.


On 5/15/06, Eric Fisher <joefoxreal@gmail.com> wrote:
> hi,
> Anybody knows that if we can define a comment? For a statement such as,
>    COMMENT this is a comment.
> will be preprocessed as,
>    // this is a comment.
> or something valid and transparent to the compiler? Of cause we can't
> directly use,
>    #define COMMENT //
>
> Thanks.
> Eric.
>



More information about the Gcc-help mailing list