Clang 15: error: void function 'shumate_vector_renderer_set_sprite_sheet_data' should not return a value [-Wreturn-type]
Trying compile libshumate 1.0.0 beta on OpenMandriva Cooker with LLVM/Clang 15 and see this compile error:
./shumate/shumate-vector-renderer.c:465:3: error: void function 'shumate_vector_renderer_set_sprite_sheet_data' should not return a value [-Wreturn-type]
DEBUG util.py:446: return FALSE;
DEBUG util.py:446: ^ ~~~~~
DEBUG util.py:446: 1 error generated.
Full build log: https://file-store.openmandriva.org/api/v1/file_stores/7ce2b799ac75825924bc48d112765684e89ab873.log?show=true
Worth to add:
- 1.0.0.alpha.1 still compiles fine with Clang 15
- 1.0.0.beta not compile with Clang 15
- 1.0.0.beta compile fine with GCC 12.2
Edited by Damian Marcin Szymański