in reply to Re^4: Check compiler features before building XS module ( extra_compiler_flags -std=c++11 )
in thread Check compiler features before building XS module

I don't disagree in principle, but in my mind the end result of a failure because of an incompatible compiler should be the same as a failure of other prerequisite checks (Perl version, OS, etc). This goes back to your first point about extending ExtUtils::CppGuess, which seems like the correct longer-term solution.

:)

Well, for about 15 years now, I've seen these pre-compiler checks fail time after time

Having to fight the tools, every enhanced Makefile.PL or new baby is tiresome :D

Maybe 15 years from now these pre-compiler checks will be good enough to have final say

Perl has always been optimistic, it should always be optimistic, its optimistic to let compiler have final say

  • Comment on Re^5: Check compiler features before building XS module ( extra_compiler_flags -std=c++11 )