Committed and CMR'ed. Thanks!
On Feb 17, 2012, at 3:22 PM, Paul H. Hargrove wrote:
> When building trunk or 1.5.x on OpenBSD-5.0 (and maybe others), I get *LOTS* of the following:
>> /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
>
> This is trivial to fix by including netinet/in.h before arpa/inet.h (see attached patch).
> The patch applies cleanly to both the trunk and the 1.5 branch (perhaps to hold back until 1.6)
>
> -Paul
>
> --
> Paul H. Hargrove PHHargrove_at_[hidden]
> Future Technologies Group
> HPC Research Department Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
>
> <in_addr_warn.diff>_______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
--
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
|