jlaurens / synctex

Synchronization for TeX
MIT License
57 stars 19 forks source link

Fix some GCC warnings #57

Closed stloeffler closed 1 year ago

jlaurens commented 1 year ago

Could you just add the comment / Fix the GCC warning blablabla / to the lines you modified, because the typecast may seem weird to some reader at first glance. (I was asked once to not use // comments, but I don't know if it is still a requirement nowadays) TIA

stloeffler commented 1 year ago

Done. I ended up using // after all. It seems that this form of comment was first introduced in C++ and "only" included in C in the C99 standard [1, 2]. // style comments don't block commenting larger portions of the code with /**/, though, so I prefer them where possible. See also stackoverflow.