Hello All!

Has anyone experienced problems with the LaTeX output and MikTeX 2.9.7100? When 
trying to generate the PDF output from the LaTeX output, I'm getting several 
errors like this:

Missing } inserted. \end{DoxyEnumFields}

The HTML output looks OK. I don't see any warnings when running Doxygen.

I'm trying a VERY simple project componed of two source files, a header file 
and a source file. I'm using a fresh install of MikTeX 2.9.7100.

Can anyone who was a LaTeX distributon installed give this example a go? This a 
showstopper for us.

Thank you very much!

Header file:

/**
* @file regular_c.h
* @brief This is a simple C header file with some examples.
*/


#ifndef REGULAR_C_H_
#define REGULAR_C_H_

/* ----------------------------------------------------------------------------
* If building with a C++ compiler, make all of the definitions in this header
* have a C binding.
* ------------------------------------------------------------------------- */
#ifdef __cplusplus
extern "C"
{
#endif    /* ifdef __cplusplus */

/* ----------------------------------------------------------------------------
* Include files
* --------------------------------------------------------------------------*/

/* ----------------------------------------------------------------------------
* Defines
* --------------------------------------------------------------------------*/

/** Boolean true value */
#define TRUE    1
/** Boolean false value */
#define FALSE   0

/* ----------------------------------------------------------------------------
* Global variables and types
* --------------------------------------------------------------------------*/

/**
* This enumeration has the return codes for the @ref some_c_function function.
*/
enum SOME_C_FUNCTION_RETURN {
    SOME_C_FUNCTION_RETURN_everthing_ok        = 0,    ///< Nothing to see here
    SOME_C_FUNCTION_RETURN_some_weird_error,           ///< This is not the 
error you're looking for
    SOME_C_FUNCTION_RETURN_some_very_bad_error,        ///< This is not the 
error we are looking for
   SOME_C_FUNCTION_RETURN_life_is_sad_just_cope       ///< Move along
};

/**
* @brief Some C function that is here just as an example.
*
* This function doesn't actually do anything useful. We just use to have some
* documentation that links back to a Markdown source file
*
* @param[in]   v   We do something with this value.
* @param[out]  ptr Some value will be written here.
*
* @return Returns a value that depends on what happened:
* - @ref SOME_C_FUNCTION_RETURN_everthing_ok
*        Uh, everything is under control. Situation normal.
* - @ref SOME_C_FUNCTION_RETURN_some_weird_error
*        Uh, had a slight weapons malfunction.
* - @ref SOME_C_FUNCTION_RETURN_some_very_bad_error
*        We had a reactor leak here now. Give us a few minutes to lock it down.
*        Large leak... very dangerous.
* - @ref SOME_C_FUNCTION_RETURN_life_is_sad_just_cope
*        Who is this?? What's your operating number?
*
* @see SOME_C_FUNCTION_RETURN
*/
int some_c_function(uint32_t v, void* ptr);

/* ----------------------------------------------------------------------------
* Close the 'extern "C"' block
* ------------------------------------------------------------------------- */
#ifdef __cplusplus
}
#endif    /* ifdef __cplusplus */

#endif /* REGULAR_C_H_ */


Source File:

/**
* @file regular_c.c
* @brief This is a simple C source file with some examples. The functions are
* documented in the header file.
*/

#include "regular_c.h"

int some_c_function(uint32_t v, void* ptr)
{
    switch(v)
    {
        /* Not a real case, just using some enum */
        case SOME_C_FUNCTION_RETURN_everthing_ok:
            *((uint8_t*)ptr) = v*v;
            break;
        case SOME_C_FUNCTION_RETURN_some_weird_error:
            *((uint8_t*)ptr) = -1;
            break;
        case SOME_C_FUNCTION_RETURN_some_very_bad_error:
            *((uint8_t*)ptr) = -2;
            break;
        case SOME_C_FUNCTION_RETURN_life_is_sad_just_cope:
            *((uint8_t*)ptr) = 0;
            break;
    }

    return SOME_C_FUNCTION_RETURN_everthing_ok;
}


Doxyfile

# General options
PROJECT_NAME           = "Doxygen"
INPUT                  = src/regular_c.c include/regular_c.h
OUTPUT_DIRECTORY       = output_doc

____________________________________________________________
Leonardo Pereira Santos | ON Semiconductor
Design Engineer

200-611 Kumpf Dr        | Waterloo, Ontario, Canada, N2N 1A8
519-884-9696 x2269 (O)  | 
leonardo.pereirasan...@onsemi.com<mailto:leonardo.pereirasan...@onsemi.com>


_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to