> On 9 Aug 2020, at 18:59, David Mathog <[email protected]> wrote: > > On Sat, Aug 8, 2020 at 8:15 PM Jonathan DEKHTIAR > <[email protected]> wrote: >> >> So do you plan on "managing" which version of GCC or g++ people have and >> issue a warning if they don't have the good one? > > A setup.py will always be written for a particular compiler, or maybe > it will handle a couple, but they never handle a "general compiler".
Except that almost all extensions written in C require a “general C compiler”, not some version of GCC. > That was why the example in spec > > Requires-External C > > never made sense. It always should have been something like > > Requires-External gcc (>4.0) Not unless you write code that uses features specific to GCC, and even then it is questionable as there are several other compilers that implement a large subset of GCC language extensions (at least icc and clang). Ronald — Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ -- Distutils-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/MPG2S4YHMCCNL7K2FQ2X6GF4ZJ5T7W2I/
