diff options
author | Wade Walker <[email protected]> | 2014-03-04 15:21:35 -0600 |
---|---|---|
committer | Wade Walker <[email protected]> | 2014-03-04 15:21:35 -0600 |
commit | 86c868fcb78b53f02ad2bae1770e4db61b892678 (patch) | |
tree | b1cc5d86954338f5449b39412f74115552495db5 /make/elf-sh-const.cfg | |
parent | 15ea21ea190a79a3740b66698103ef5b4f145e94 (diff) |
Remove warnings in emitted C code.
Fix 1: Only emit "int * _offsetHandle = NULL" if it will be used, to
avoid unused variable warning. Fix 2: Add "unsigned" to typecasts in C
function calls when needed to avoid implicit typecast warning. This
commit also adds a unit test for a method that uses an "unsigned char
**" parameter, to mimic the JOCL clCreateProgramWithBinary() function
that caused the typecast warnings.
Diffstat (limited to 'make/elf-sh-const.cfg')
0 files changed, 0 insertions, 0 deletions