<p>The main reason I am doing cleanups such as this is because I am very new to the codebase, and “cleaning” allows me to get a more in-depth picture of what is going on.</p>
<p>I never meant to start an argument, just trying to contribute to a better codebase in some way or another.</p>
<hr style="height:1px;margin-bottom:20px;background-color:#ddd;color:#ddd" />
<p>I do understand that this issue is not easily solvable, and no, it probably does not matter for the platforms the code is being compiled for; but I still enjoy writing (and utilizing) code that is Standard conformant.</p>
<p>Maybe I am b0rked from actually having to compile code for platforms where this actually matters.</p>
<p>On 16/02/22 22:48, Rémi Denis-Courmont wrote:</p>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>We do not require void pointers to be compatible with function pointers. We only require that a function pointer can be reversibly stored in a void pointer. In other words, we require that the conversion from function pointer to void pointer be an injective function.</p>
</blockquote>
<p>I was talking about the same thing, compatible in a “lossless conversion back and forth” kind of way.</p>