Re: C11 / VS 2019

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: C11 / VS 2019
Date: 2025-07-29 22:11:01
Message-ID: CAApHDvr0fSGi+eHcz3=kv=0zQONhBsYhwr6QAJoJ8f2NA=+YBA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 30 Jul 2025 at 00:57, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> David Rowley <dgrowleyml(at)gmail(dot)com> writes:
> > On Fri, 18 Jul 2025 at 23:12, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
> >> Note that gcc and clang switched to C11 by default a long time ago
> >> (gcc-5 and clang-3.6), so for most users all these tests won't need to
> >> do anything. If you want to test it, you could simulate an older
> >> default like
> >> ./configure CC='gcc -std=c99'
>
> > On Linux, doing a bit more testing using meson and clang, I tried with
> > CC=clang CFLAGS=-std=c99 . I get:
>
> Note that that's not what Peter suggested. That leads to

OK, thanks. There are no issues when I use CC="clang -std=c99" meson setup ...

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirk Wolak 2025-07-29 22:16:26 Re: proposal: plpgsql, new check for extra_errors - strict_expr_check
Previous Message Sami Imseih 2025-07-29 22:08:09 Re: track generic and custom plans in pg_stat_statements