best way to handle GCC version detection

Aryeh Friedman aryeh.friedman at gmail.com
Tue Jun 27 15:39:05 UTC 2017


I have port I maintain that compiles fine under GCC 5 (or lower) but barfs
on GCC 6.   A small modification will make it compile under 6 but the very
same modification makes it incompatible with 5.   What is the best way to
handle this and still allow USE_GCC=any ?

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


More information about the freebsd-ports mailing list