Ethereal-dev: [Ethereal-dev] MSVC warnings: 'inline' macro redefinition caused by a conflict b

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: Wed, 17 Dec 2003 22:53:56 +0100
Hi List!

With MSVC, I get lot's of warnings complaining about:

D:\ulfl\proj\Ethereal\libs\WPdpack\include\gnuc.h(18) : warning C4005: 'inline' : Makro-Neudefinition D:\ulfl\proj\Ethereal\libs\ethereal.com\include\glib-2.0\glib/gutils.h(95) : Siehe vorherige Definition von 'inline'

This warnings appear everywhere, where pcap.h is included *after* gtk/gtk.h.

When I flip the sequence, including pcap.h before gtk/gtk.h, I get no warnings at all.

Am I the only one getting these warnings on MSVC, as I'm maybe using wrong version of the libs?

Regards, ULFL