
18 Oct
2013
18 Oct
'13
9:58 a.m.
On Thu, Oct 17, 2013 at 03:18:01PM -0700, Gerald Combs wrote:
Compiling Wireshark with the current version of Apple's developer toolchain results in the following error:
/usr/local/include/smi.h:319:1: error: empty struct has size 0 in C, size 1 in C++ [-Werror,-Wc++-compat] } SmiElement;
Would it make sense to remove the __GNUC__ check in smi.h as per the attached patch?
Yep, since C99 generally forbids empty structs, I have removed the __GNUC__ check.
/js
--
Juergen Schoenwaelder Jacobs University Bremen gGmbH
Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany
Fax: +49 421 200 3103 http://www.jacobs-university.de/