On 9 Aug 2020, at 18:59, David Mathog <dmathog@gmail.com> wrote:
On Sat, Aug 8, 2020 at 8:15 PM Jonathan DEKHTIAR <contact@jonathandekhtiar.eu> 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/