I wish that unused arguments to non-static functions didn't count as unused variables. Then it would be a useful warning again.
(However, even if this was 'fixed' in future GCC and LLVM etc, it wouldn't help those using older versions of of those compilers or other compilers.)
Tangent: what do people think about -ftrapv?
Use of -Wextra
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Use of -Wextra
Assuming it works, it's in most cases too expensive in production, but interesting to have in preproduction. Considering the top hits on google says its ridiculously broken in GCC, the real problems are elsewhere.willedwards wrote:Tangent: what do people think about -ftrapv?
Then again, Legacy visual basic had it permanently enabled, and so far it was only a problem in the cases I explicitly wanted to do wraparound.
Considering the timing, is this a current hardware support topic in the Mill business?
-
- Member
- Posts: 96
- Joined: Sat Mar 15, 2014 3:49 pm
Re: Use of -Wextra
Array
Our zero-performance-impact checked arithmetic is not news Personally I hope that platforms deploying to Mill use it by default.Combuster wrote:Considering the timing, is this a current hardware support topic in the Mill business?