Hello,
I tried "-Werror" and it seems that it is not working.
Specification:
-Werror Make all warnings into errors. |
I did:
program.build(devices, "-Werror");
I know that my kernels produce warnings like:
warning: double-precision constant is represented as single-precision constant because double is not enabled |
However "-Werror" does not turn those warnings into errors. Definitions like "-DFOO" specified the same way are working.
Ideas?