Summary: | sys-libs/glibc: old-style cast in __FD_SET macro breaks strict C++ compilation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erik <esigra> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED UPSTREAM | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Erik
2009-11-20 10:36:21 UTC
Same problem in /usr/include/netinet/in.h (IN_CLASSA, IN_CLASSB, IN_CLASSC, IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS, INADDR_ANY, INADDR_BROADCAST, INADDR_NONE, INADDR_LOOPBACK, INADDR_UNSPEC_GROUP, INADDR_ALLHOSTS_GROUP, INADDR_ALLRTRS_GROUP, INADDR_MAX_LOCAL_GROUP, IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL, IN6_IS_ADDR_V4MAPPED, IN6_ARE_ADDR_EQUAL, IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL, IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL and IN6_IS_ADDR_MC_GLOBAL) Same problem in /usr/include/sys/mman.h (MAP_FAILED). the casts have always been this way and from what i can see, will always be this way. we're not going to diverge in Gentoo on this. you can file a bug about this with the glibc people as i dont think this is a issue that really needs to be "fixed" ... http://sources.redhat.com/bugzilla/ |