[14:24] <Mc> Hi! focal builds by default with gcc 9.4 on launchpad builders but some of our c++20 code use constructs understood by gcc 10+ (which exists on focal, but is not default). I'm not very keen on doing a "specific for focal" version of debian/control telling to install (and build with) "gcc-10 specifically" (as I'm happy with later versions used in lunar, mantic, etc), but is there a better way ?
[16:21] <cjwatson> Mc: You could possibly try something like "Build-Depends: g++ (>= 4:10) | g++-10" and then some kind of appropriate code in debian/rules to export CXX = g++-10 (or similar) if on focal or if g++'s version is less than 10 or similar
[16:41] <Mc> ah, true, would work with |