build: make sure CFLAGS (including -werror) be used for examples and … #2337
I thought that was by design. I like this change, just note that it will need some fixup on MinGW. If I remember correctly, there's one warning in the examples because WinSock has non-standard signatures for send and recv and one warning in the tests about conversions between 32-bit long and 64-bit pointers. I'll try to have a look this afternoon.