News for hackers. Stuff that matters.
Re:GCC 4.9 Release Series – Changes, New Features, and Fixes by asveikau on Saturday April 12, 2014 @06:14PM (#7579406)
> A new C extension __auto_type provides a subset of the functionality of C++11 auto in GNU C.

I wonder if anyone is working to standardize something like this? It would be way more useful than all those _s() functions they added to C11.

Re:GCC 4.9 Release Series – Changes, New Features, and Fixes by PySlice on Sunday April 13, 2014 @12:32AM (#7580237)
Yes, bounds checking are unnecessary, you don't need those _s() functions - NSA director
Re:GCC 4.9 Release Series – Changes, New Features, and Fixes by asveikau on Sunday April 13, 2014 @10:11PM (#7584159)
The problem isn't bounds-checking, the problem is that most of the _s() functions that deal with bounds-checking already have pre-C11 equivalents that check boundaries.

I also disagree with some of the interface choices, for example when strlcpy() fails it tells you how many characters you needed, not simply "error" as in strcpy_s. Also the use case for memcpy_s() is extremely limited. It just seems like the _s() functions were rushed and stuck in there without regard for what makes sense.