svn commit: r505640 - head/java/openjdk11

Alexey Dokuchaev danfe at freebsd.org
Tue Jul 2 08:26:08 UTC 2019


On Tue, Jul 02, 2019 at 09:24:50AM +0200, Piotr Kubaj wrote:
> Why not use USES=compiler:c11 instead of setting manually USE_GCC=yes?

Technically they're semantically not the same; while pulling C11-capable
compiler might fix the problem, you're still telling the reader that you're
pulling C11-capable compiler, while USE_GCC means that you want GCC, devoid
of particular reasons.

In practice, compiler:c11 often used as compiler:modern.  I'd welcome this
spelling: it would actually make things more clear because now people often
abuse compiler:c11 or (even worse) compiler:c++11-lang for 98/99 code which
gcc-4.2 cannot eat, or because one of the dependencies requires new compiler
(majority of cases).

./danfe

P.S.  Sorry for lack of context due to prior top-posting.


More information about the svn-ports-head mailing list