Hi Eric,

I will try the cvs version tonight because I cannot access it from my office.

Hope it will work. If not I will provide some example files.

Thanks a lot for you support

Cyril

2009/3/23 Eric M. Ludlam <eric@siege-engine.com>
>>> kiwilex@gmail.com requires approval seems to think that:
>Hi,
>
>I'm trying to use semantic with cedet 1.0pre6 but it can't work because it
>does not take into account my C++ macros that I have define via
>(add-to-list 'semantic-lex-c-preprocessor-symbol-file "path to my include
>containing macro definition") or with
>  (setq semantic-lex-c-preprocessor-symbol-map '
>        (("MACRONAME1" . "VALUE1")
>     ("MACRONAME2" . "VALUE2") ))
>
>When use the function semantic-lex-spp-describe defined macros are present
>in the dumped buffer. But when I launch bovinate it doesn't take them into
>account.
 [ ... ]

Hi,

 First, it would be great if you could try the CVS version of CEDET.
There have been several pre-processor bugs fixed lately.

 If that doesn't help it would be great if you could provide small
example files, perhaps one file with the macros you need, and an
example use.

 If your macros are something like this:

#define MYMACRO(thing) int thing() {

 Where there is no closing }, then that does not work, and likely
won't work until someone refactors how lexical analysis works.

Good Luck
Eric

--
         Eric Ludlam:                       eric@siege-engine.com
  Siege: www.siege-engine.com          Emacs: http://cedet.sourceforge.net