[Bug 248657] [exp-run] Mk/bsd.default-versions.mk: Update default version to PostgreSQL

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 11 22:55:36 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248657

--- Comment #16 from VVD <vvd at unislabs.com> ---
(In reply to commit-hook from comment #14)
Why did you remove this line from patch:
> CFLAGS="${CFLAGS} -Wvla"

Build error:
polygon.c:827:14: error: variable length array used [-Werror,-Wvla]
                SPoint          arr[nelem];
                                   ^
polygon.c:895:11: error: variable length array used [-Werror,-Wvla]
        SPoint          s[poly->npts + 2];
                         ^
2 errors generated.
gmake[2]: *** [<builtin>: polygon.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
path.c:516:14: error: variable length array used [-Werror,-Wvla]
                SPoint          arr[nelem];
                                   ^

Possible there are better solution, but this work too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list