On 03/24/2013 04:28 PM, anevilyak@xxxxxxxxx wrote:
+# disable array bounds warnings on gcc 4.6 or newer since they trigger +# too many false positives. Coverity does a better job of this kind of analysis +# anyways. +if $(HAIKU_GCC_VERSION[1]) >= 4 { + if $(HAIKU_GCC_VERSION[2] >= 6) { + HAIKU_GCC_BASE_FLAGS += -Wno-array-bounds ;
That check should read something like this (dunno if Jam supports that, though):
> +if $(HAIKU_GCC_VERSION[1]) = 4 && $(HAIKU_GCC_VERSION[2]) >= 6 || $(HAIKU_GCC_VERSION[1]) > 4 {
In any case, the second check looks like a typo; the closing parenthesis should come before the >= operator.
Bye, Axel.