News for hackers. Stuff that matters.
Re:Using the __cleanup__ variable attribute in GCC by buserror on Friday August 14, 2015 @10:10AM (#10060159)
Actually this is pretty cool, you can make the same sort of semantics as C++ stack based objects in plain C. With a couple macros you could make it pretty much feature equivalent.

Thanks for posting that!

Re:Using the __cleanup__ variable attribute in GCC by zvrba on Friday August 14, 2015 @12:34PM (#10061080)
"Plain C" is defined by the ISO C standard. Once you start using extensions like these you're better off going over to standard C++.
Re:Using the __cleanup__ variable attribute in GCC by Gibbon1 on Friday August 14, 2015 @05:47PM (#10063163)
Once you think you need to move from some flavor of C to standard C++ you should probably switch to a safe proper garbage collected language.