nathhB / nbnet

single header C(99) library to implement client-server network code for games
zlib License
441 stars 30 forks source link

Enable build flags and fix compilation warnings (gcc 14.1.0) #66

Closed f0rget-the-sad closed 2 months ago

f0rget-the-sad commented 3 months ago

Current add_compile_options() in tests and examples are not taken into account, due to that any warnings are simply ignored. This patch series moves add add_compile_options() before target creation to resolve this issue.

Also, I tried to group warnings fixes into categories as separate patches, so it should be possible to rearrange/replace part of them.

nathhB commented 3 months ago

@f0rget-the-sad thank you for your contribution. According to the pipeline, it seems that the code does not compile on Windows anymore.