On Fri, Jun 14, 2002 at 08:50:25AM -0700, Chris Waters wrote:
> The declaration for the preference structure in prefs-int.h uses the name
> 'bool' for a couple of the fields in the structure. bool is a keyword in C++
> and when compiling prefs-int.h with a C++ compiler (Borland C++ Builder in
> this case) the compiler complains. I haven't tried compiling with MSVC++,
> but its syntax highlighter thinks that bool is a keyword too.

Well, we compile Ethereal from the command line, and MSVC++ does realize
that Ethereal is C code, not C++ code, and doesn't apply C++'s rules to
it.

I don't know whether the GUI stuff would work as well; perhaps it
doesn't, and would think it's all C++ - or perhaps it's just the syntax
highlighter that doesn't know the difference.


Reply via email to