Skip to content

No pragma message (clean up CDash build warnings)

Guilherme Amadio requested to merge no-pragma-message into master

The usage of pragma message in various places creates warnings on CDash, and does not fail when an unimplemented function is called, which might lead to bugs that are very hard to debug. In order to clean up build warnings, this commit exchanges the usage of pragma message with code that will throw an exception during runtime and properly fail when the unimplemented functions are called.

I compiled with Vc and scalar with CUDA enabled and disabled, with GCC and ICC

Merge request reports