Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe

unused

A collection of 1 post
Trick C++ on Unused Variables
macro

Trick C++ on Unused Variables

If you enable warning on unused method parameters ( -Wextra or -Wunused) and you get warnings in method parameters, you're supposed to change the signature. Sometimes this is not OK and you still need the build to pass cleanly. Java has the glorious @SuppressWarnings, so my best and most
Dec 24, 2015 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost