Ethereal-dev: Re: [ethereal-dev] Small patches for C++ compatability

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

Date: Mon, 29 May 2000 09:34:44 +0200
> which GLib structure is being redefined here? I don't see any "struct
> _value_string", or "value_string" typedef, in GLib 1.2.7, GLib 1.2.8, or
> the current GLib in CVS.
> 
> In addition, defining that structure only in C code means that C++ code
> cannot use "value_to_str()" and "match_strval()", and cannot define
> fields that have a "value_string" table associated with them, which is
> probably not what we want.

Hmm, weird. VC++ complained very loudly, but that may have been because something was causing it to 
be set in a VERY strict mode. I have since removed the piece of code that caused the STRICT mode, 
but other people may use this code in the same way. I have never had any problems. I'll try to
get more information thsi afternoon.

This may also have been the cause for Gilbert's question about the other
lines in the patch

I also forgot about another patch for plugin_api.h, but that might also be associated 
with STRICT.

-- 
Andreas Sikkema
andreas.sikkema@xxxxxxxxxxx
"Standing barefoot in a river of clues, most people would 
         not get their toes wet." - Brian Kantor in a.s.r.