[squid-dev] More woes with ubuntu-precise

Kinkie gkinkie at gmail.com
Thu Aug 13 15:29:54 UTC 2015


Hi,
   EnumIterator has brought out one more issue with ubuntu-precise: since
it carries gcc-4.6, it doesn't support std::underlying_type<enum>.

The options are:
- drop support for precise in trunk. We claim to need gcc 4.8 anyway
- not to use std::underlying_type and blindly use int.
- do template metaprogramming to detect std::underlying_type, fall back to
int if not possible
- use autoconf

3. and 4. are quite crazy IMO but I mentioned them for completeness' sake.
Any opinion on 1. and 2.?

-- 
    Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150813/18434fac/attachment.html>


More information about the squid-dev mailing list