Re: [PATCH 1/1] git-compat-util: add a test balloon for C99 support
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Nov 15, 2021, 03:16 UTC
- Message-ID
- <CAPig+cTAfOor11SDWG0N-eeZZ=4hsmkMVAdcmiiJ+jXz3BAQVQ@mail.gmail.com>
- In-Reply-To
- <20211114212437.1466695-2-sandals@crustytoothpaste.net>
On Sun, Nov 14, 2021 at 4:27 PM brian m. carlson <sandals@crustytoothpaste.net> wrote:
Show 10 quoted lines
> +#if __STDC_VERSION__ - 0 < 199901L > +/* > + * Git is in a testing period for mandatory C99 support in the compiler. If > + * your compiler is reasonably recent, you can try to enable C99 support (or, > + * for MSVC, C11 support). If you encounter a problem and can't enable C99 > + * support with your compiler and don't have access to one with this support, > + * such as GCC or Clang, you can remove this #if directive, but please report > + * the details of your system to git@vger.kernel.org. > + */ > +#error "Required C99 support is in a test phase. Please see git-compat-util.h for more details."
You don't need to encapsulate the #error message in double quotes.