logoalt Hacker News

kristianp • 04/24/2025 • 0 replies • view on HN

Trying g++ version 11.4, there's no warning by default if you don't check the return value of sscanf. Even `g++ -Wall -Wextra -Wunused-result` produces no warnings for a small example.