Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5934~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5934
Choose a head ref
  • 3 commits
  • 5 files changed
  • 2 contributors

Commits on Aug 9, 2025

  1. meson: Move C99 test earlier

    That way, if any command-line options are needed, subsequent tests
    will also use them.
    petere authored and Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    dc7651b View commit details
    Browse the repository at this point in the history
  2. Raise C requirement to C11

    This changes configure and meson.build to require at least C11,
    instead of the previous C99.  The installation documentation is
    updated accordingly.
    
    configure.ac previously used AC_PROG_CC_C99 to activate C99.  But
    there is no AC_PROG_CC_C11 in Autoconf 2.69, because it's too
    old.  (Also, post-2.69, the AC_PROG_CC_Cnn macros were deprecated and
    AC_PROG_CC activates the last supported C mode.)  We could update the
    required Autoconf version, but that might be a separate project that
    no one wants to undertake at the moment.  Instead, we open-code the
    test for C11 using some inspiration from later Autoconf versions.  But
    instead of writing an elaborate test program, we keep it simple and
    just check __STDC_VERSION__, which should be good enough in practice.
    
    In meson.build, we update the existing C99 test to C11, but again we
    just check for __STDC_VERSION__.
    
    This also removes the separate option for the conforming preprocessor
    on MSVC, added by commit 8fd9bb1, since that is activated
    automatically in C11 mode.
    
    Note, we don't use the "official" way to set the C standard in Meson
    using the c_std project option, because that is impossible to use
    correctly (see <mesonbuild/meson#14717>).
    petere authored and Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    00a1f0f View commit details
    Browse the repository at this point in the history
  3. [CF 5934] v1 - Raise C requirement to C11

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5934
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/[email protected]
    Author(s): Peter Eisentraut
    Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    a904cbe View commit details
    Browse the repository at this point in the history
Loading