On 11/5/19 6:19 AM, Kerry, Richard wrote: > > It doesn’t work. > > Warning: explicit link request to ‘if’ could not be resolved. > > Warning: explicit link request to ‘endif’ could not be resolved. > > > > Note – I am trying to “comment out” individual lines within a doxygen > comment block, not comment out the whole comment. > > > > Regards > > Richard. > > > > > > Ok, that’s a thought, I’ll give that a try. > > > > I wonder if #if works in a comment? I’ve never actually tried it, I’m > just wondering out loud whether the pre-processor acts before or after > the lexical analyser strips comments. > > > You can't do
/** #if */ as comments are removed before preprocessing You should be able to do /// /// /// #if 0 /// /// /// #endif /// /// /// to remove specific lines of comment. -- Richard Damon _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users