Snaipe / libcsptr

Smart pointers for the (GNU) C programming language
https://snai.pe/c/c-smart-pointers/
MIT License
1.57k stars 143 forks source link

fix build tests on gcc 4.9+ #12

Closed hizel closed 7 years ago

hizel commented 7 years ago

Hi,

gcc 4.9.4 build ok, but clang 3.9.1 not support -Wno-trampolines, prohibits to create functions on stack and tests builds fail

Snaipe commented 7 years ago

In hindsight, I think the base course of action here would be to simply remove the -Werror, as compiler warnings come and go depending on the version (which is also probably why I've never seen software ship with -Werror)

I'm going to merge this in the meantime.