Ethereal-dev: Re: [Ethereal-dev] What is the purpose of the preprocessor constant _U_ in the s

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Fri, 17 Sep 2004 07:28:30 +0200
jscott wrote:

I’m trying to compile the Ethereal source under WinXP, and there are compile errors caused by the _/U/_ preprocessor constant. In the project settings it’s defined to be “”, an empty string. This causes a compile error,” Newline in constant.” I tried redefining it to nothing, but this doesn’t help; I just get a different compiler error message.

The _U_ is used together with the gcc compiler, to mark unused parameter. With MSVC compilers, it should just do nothing.

Please provide the exact error messages, I don't have a cristal ball at hand ...

Regards, ULFL