Closed AngryPenguinPL closed 3 years ago
This line was added in 2014 in commit 95b65647e0d1, so I rather suspect it's some new clang version that causes the new warning?
Anyway, I can reproduce this with clang on Fedora, I'll add that to CI and fix it, thanks for the report!
When compile 0.15.3 I see this error: cast to smaller integer type 'enum script_record_format' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] Worth to add 0.14.1 compile without issues.
OS OpenMandriva Cooker Compiler: Clang 11
Build log with error:
Full build log: http://file-store.openmandriva.org/api/v1/file_stores/cbc3df2ad478ee72b3ae2454b6ca821351c59bbd.log?show=true