Menu

Problem with @cond

Bastian
2014-06-11
2014-06-16
  • Bastian

    Bastian - 2014-06-11

    Hello,

    I have a issue with the @cond. I searched already for this issue but can’t find a solution.
    Here's a sample of my code:

    /**
    * \file       foo_bar.c
    *
    * \author     foo_bar
    *
    * \addtogroup foo_bar
    * \{                                                                                
    * \ingroup foo
    **/
    
    /* includes */
    
    
    /* function prototypes */
    
    
    /* vars */
    /** @cond INTERNAL **/  <- no problems here
    
    /** @endcond **/ /* internal */
    
    /* global functions */
    .
    
    /* local functions */
    
    /** @cond INTERNAL **/ 
    #if (1U  ==  FOO_BAR1)
    
    /***********************//** <- doxygen said that here the problem occurs for both warnings
    /* this is             
    *  a function
    *  header
    ***************************/
    Static void foo_bar1(void)
    {
       
    }
    #endif
    
    #if (1U == FOO_BAR2)
    Static void foo_bar2(void)
    {
       
    }
    #endif
    
    
    /** @endcond **/ /* internal */
    /** \} **/ /* for doxygen */
    /* EOF */
    

    “warning: Found unknown command `\cond'”

    “warning: Found unknown command `\cond'”

    The doxyfile is configured for the INTERNAL and it works right for the first @cond. If I remove everything between the cond and endcond the error disappears. Then i added only a function with a empty body between the conds and the error occurs again.

    Using doxygen Version 1.7.6.1

    Thanks for your help!

    greetings

     

    Last edit: Bastian 2014-06-11
  • Bastian

    Bastian - 2014-06-16

    SOLUTION: In my project code was a comment '/* -"- */' (without the ' ') which was the reason for the error.

    In another File it was a single ' " ' in a doxygen comment of a function header.

    It seems that a single " in a doxygen comment will occur a doxygen error

     

    Last edit: Bastian 2014-06-16

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.