compilation warnings due to missing or wrong order of included headers

Bug #683009 reported by buzzdee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
Fix Released
Undecided
Brian Aker

Bug Description

Hi,

on OpenBSD -current i386, but probably all platforms, I get a compilation warnings like the following:

In file included from ./libmemcached/platform.h:23,
                 from ./libmemcached/protocol_handler.h:22,
                 from example/interface_v1.c:21:
/usr//include/arpa/inet.h:74: warning: 'struct in_addr' declared inside parameter list
/usr//include/arpa/inet.h:74: warning: its scope is only this definition or declaration, which is probably not what you want
/usr//include/arpa/inet.h:75: warning: 'struct in_addr' declared inside parameter list

Revision history for this message
buzzdee (sebastia) wrote :
Revision history for this message
buzzdee (sebastia) wrote :

patch is against libmemcached-0.44

Brian Aker (brianaker)
Changed in libmemcached:
status: New → Fix Committed
assignee: nobody → Brian Aker (brianaker)
Brian Aker (brianaker)
Changed in libmemcached:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.