The idea is to cause a compile-time error with an error message if a certain macro is invoked. Can this be done? How?
#ifdef RUBBISH_COMPILER
# define alignof(T) // what here?
#endif
const std::size_t = alignof(some_type); // invocation, causing compilation error
The invocation shall produce a sensible error message like alignof() not available with this compiler.