rescrv / po6

POSIX wrappers for C++
BSD 3-Clause "New" or "Revised" License
28 stars 15 forks source link

Error building with GCC 4.7 #5

Closed zloidemon closed 10 years ago

zloidemon commented 11 years ago

If it build with gcc4.7 you can catch it error, but with 4.6 all works.

$ gmake
gmake  all-am
gmake[1]: Entering directory `/var/tmp/usr/ports.svn/sysutils/replicant/work/replicant-0.2.1'
  CXX    common/libreplicant_la-bootstrap.lo
In file included from /usr/local/include/po6/net/location.h:36:0,
                 from /usr/local/include/po6/net/hostname.h:40,
                 from /usr/local/include/busybee_single.h:35,
                 from common/bootstrap.cc:40:
/usr/local/include/po6/net/ipaddr.h: In static member function 'static po6::net::ipaddr po6::net::ipaddr::ANY()':
/usr/local/include/po6/net/ipaddr.h:62:45: error: 'u_int32_t' was not declared in this scope
gmake[1]: *** [common/libreplicant_la-bootstrap.lo] Fehler 1
rescrv commented 10 years ago

I believe this was fixed, just never closed. It builds with 4.7 right now.