> clang doesn't error out, gcc does.
> Why does numpy use gcc?

Because that’s what upstream recommends in their docs.

“Note that NumPy is developed mainly using GNU compilers. Compilers from other 
vendors such as Intel, Absoft, Sun, NAG, Compaq, Vast, Portland, Lahey, HP, 
IBM, Microsoft are only supported in the form of community feedback, and may 
not work out of the box. GCC 4.x (and later) compilers are recommended.”

See: https://numpy.org/devdocs/user/building.html

Reply via email to