git: 269b7d8ac1e5 - stable/12 - tftpd: tests: raise targeted cstd to c11

Kyle Evans kevans at freebsd.org
Tue Dec 29 23:32:53 UTC 2020


Hmm, I hadn't done this because we still have in-tree GCC4.2. Might want to
go ahead and skip these tests entirely a level up for 4.2.

On Tue, Dec 29, 2020, 17:07 Ryan Libby <rlibby at freebsd.org> wrote:

> The branch stable/12 has been updated by rlibby:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=269b7d8ac1e533a1f214904ab7bce50f5c14fe3e
>
> commit 269b7d8ac1e533a1f214904ab7bce50f5c14fe3e
> Author:     Kyle Evans <kevans at FreeBSD.org>
> AuthorDate: 2020-03-05 22:45:16 +0000
> Commit:     Ryan Libby <rlibby at FreeBSD.org>
> CommitDate: 2020-12-29 23:04:40 +0000
>
>     tftpd: tests: raise targeted cstd to c11
>
>     r358556 added alignas() use to the functional tests, which isn't
> defined
>     until C11. Raise the -std to C11 to fix the build under
> freebsd-gcc{6,9}.
>
>     Reported by:    mhorne, Jenkins/CI
>
>     (cherry picked from commit 924e10b809a9fcbc8688c1b5848f60b48e6103fe)
> ---
>  libexec/tftpd/tests/Makefile | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libexec/tftpd/tests/Makefile b/libexec/tftpd/tests/Makefile
> index 06c5537372a7..9aa420cec1a5 100644
> --- a/libexec/tftpd/tests/Makefile
> +++ b/libexec/tftpd/tests/Makefile
> @@ -10,5 +10,6 @@ TEST_METADATA.functional+=    timeout=15
>
>  LIBADD=        util
>  WARNS?=        6
> +CSTD=  c11
>
>  .include <bsd.test.mk>
>


More information about the dev-commits-src-all mailing list