Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] excessive warnings on some BSDs [w/ PATCH]
From: Jeffrey Squyres (jsquyres_at_[hidden])
Date: 2012-02-21 08:34:46

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]

Jeff Squyres
For corporate legal information go to: