Ticket #134 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Tiny patch to fix compile warning with avahi-compat-howl/salt/platform.h

Reported by: MarkDoliner Assigned to: lennart
Priority: minor Milestone: Avahi 0.6.19
Component: avahi-compat-howl Version:
Keywords: Cc:

Description

I get the following warnings from gcc when compiling a file that includes avahi-compat-howl/howl.h:

In file included from /usr/include/avahi-compat-howl/salt/salt.h:32,

from /usr/include/avahi-compat-howl/howl.h:32, from bonjour.h:29, from bonjour.c:39:

/usr/include/avahi-compat-howl/salt/platform.h:130:6: warning: "WORDS_BIGENDIAN" is not defined

Apparently WORDS_BIGENDIAN isn't defined on my system. The attached patch fixes the problem for me.

Attachments

avahi_tiny_warning_fix.diff (265 bytes) - added by MarkDoliner on 04/23/07 08:29:26.

Change History

04/23/07 08:29:26 changed by MarkDoliner

  • attachment avahi_tiny_warning_fix.diff added.

05/09/07 00:20:44 changed by lennart

  • status changed from new to assigned.
  • component changed from avahi-core to avahi-compat-howl.
  • milestone set to Avahi 0.6.19.

hmm, these are pristine howl headers. I wonder if it is such a good idea to modify them for Avahi.

But anyway, I will do this now.

05/09/07 00:21:35 changed by lennart

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [1461]) fix a compilier warning in the HOWL headers. (Patch from MarkDoliner?; closes #134)