Ethereal-dev: Re: [Ethereal-dev] buildbot failure on freebsd (b 32)

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 20 Aug 2005 11:28:22 -0700
Joerg Mayer wrote:
My latest patch to include the .h file in the .c file broke the compile on
freebsd: "http://buildbot.ethereal.com/FreeBSD 5.3 (IA64)/builds/32/compile/0"
I cannot reproduce this on my suse system, but it looks like the .h and the .c
file don't match. Is byacc on that platform broken?

Actually, I had the same problem even though the .h and .c files *do* match (I checked them - they're either character-for-character identical in the defintions of YYSTYPE, or the definitions differ only in white space).

As far as I know, there's no need for the .h file to be included in the .c file, as byacc or Bison just put copies of the same structure and definitions in the two files - all the stuff in the .h file is in the .c file, and if we can't trust byacc/Bison to get that right, we might have bigger problems....