Add a New Comment (Rich Markup)
Comment Type & Canned Response: None No canned response available
Pushed in eeae82a. Thank you very much for the patch!
execinfo.h has been available on a number of systems now, but unfortunately different systems use different types to represent the size of the backtrace, with netBSD and FreeBSD using size_t and Linux, Mac OS X. To build calls that work with both implementations without warning, this macro not only checks if the execinfo header is available but also what type is used for the len argument of backtrace_symbols and the return value of backtrace.
All in all this macro defines
and append any library needed to LIBS (e.g. some BSD's need -lexecinfo).
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 5 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.10