Hi
Shouldn't major and minor macros in
/usr/include/x86_64-linux-gnu/sys/sysmacros.h be inline functions?
They prevent doing stuff like
struct T {
T() : major() {}
int major;
};
in C++. According to the C++ standard those names shoudn't be
reserved to the implementation, and thus be available
If you link with -rdynamic you can show a backtrace with something
like the attached code.
On Wed, Aug 29, 2012 at 9:22 AM, Ian Lance Taylor wrote:
> I've spent the last couple of days working on a stack backtrace library.
>
> It uses the GCC unwind interface to collect a stack trace, and parses