Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You should always thoroughly check whether your program still works after upgrading the compiler. Adding a -Wno-bad-exponentation to your makefiles shouldn't be that difficult.


If you are the only one using your program, then that's probably fine. I cannot count how many times I have to patch other people's makefile so their code won't fail to compile because of some -Werror introduced in a newer version of the compiler.


I wonder if a script could be made that: 1. Adds pragmas around each error to suppress 2. Creates commit 3. Sends to upstream branch for review & triage 4. Bonus if hosted on GitHub, files an issue




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: