cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Tasp
Journeyman III

C++ bindings and build options

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?

0 Likes
2 Replies
omkaranathan
Adept I

This is a known issue. You can expect this to be fixed in one of the upcoming releases.

0 Likes

Thanks.

Is there a list of known issues anywhere?

0 Likes