Ticket #134 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

Reported by: MarkDoliner Owned by: lennart
Milestone: Avahi 0.6.19 Component: avahi-compat-howl
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 Download (265 bytes) - added by MarkDoliner 6 years ago.

Change History

Changed 6 years ago by MarkDoliner

Changed 6 years ago 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.

Changed 6 years ago 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)

Note: See TracTickets for help on using tickets.