
Roberto Bagnara wrote:
Hi there,
here is a problem I have encountered that may be of interest to both the GCC and the DOXYGEN communities. Consider the following 4 non-empty lines of C text:
#if 0 /* I would like not to see this. */ int x; #endif
...
Neil Booth wrote:
There are various issues with -C which are not good. It saves comments within a macro expansion, so that each invocation reproduces the comment.
This is nice, except that it doesn't work with C++ comments, since stuff later on the line can be commented out (doh!) and it doesn't work in directives, which don't expect comments as tokens.
...
As for 3.0.2, this patch plus a one-liner to fix the bug you mentioned about comments in skipped blocks being output could be applied. I'll see what Mark thinks RSN.
Dear Neil,
thank you very much for your help. Will your patches be applied to the 3.0.2 branch? This would be very important for us. All the best,
Roberto