On Wed, 2007-05-23 at 18:57 +0200, Sven-Ola Tuecke wrote:
[...]
> investigated a bit. That thing is really old (claims 2.9x from 2001). Look 

ACK.

> for example in src/build_msg.c:818.
> 
> OLSR_PRINTF(1, "TC: Sending empty package\n");
> 
> which expands to
> 
> do { if((olsr_cnf->debug_level >= ( 1 )) && debug_handle) 
> fprintf(debug_handle, (  "TC: Sending empty package\n"  ); } while (0) ;

You can try to remove the braces but I fear that this won't help.

> Looks like the empty ellipse (...args) is handled differently. As long as 
> other compilers (windoof, osx, bsd) do not complain -> simply ignore my 
> post.

Hmm, we could rewrite these macros as inline functions to avoid the old
buggy preprocessor.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services


