Add runtime warning for issue #40