GCC's ISO C standard does not strictly define the bahavior of converting a void*
pointer to a function pointer, but dlsym's POSIX standard does. The retrieval of function pointers
through dlsym in this case generates an unnecessary amount of warnings for every API function
assignment, bloating the output. Removing GCC's -Wpedantic flag only for the retrieval and
assignment of said functions thus seems like a good idea, simplifying debugging of the GPUJIT
in the future. Agree?
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I forgot to add: @bollu, feel free to critically review this regarding better alternatives or to decide to commit it as it is.
Comment Actions
Could you please add a reference to the standard either in the code or the commit message? I believe this is the official reference.