[mlpack-git] [mlpack] Log::Fatal should give a backtrace of some sort (#380)

Ryan Curtin notifications at github.com
Thu Feb 12 09:42:11 EST 2015


You can't use `__FUNCTION__` since it's not standardized by ANSI C.  See this list:

https://docs.freebsd.org/info/cpp/cpp.info.Standard_Predefined.html

That gives you `__LINE__` and `__FILE__`, but that won't really help with a backtrace -- that will simply print the current location in the code (that may still be useful, of course).

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/380#issuecomment-74081159
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150212/ab83c5ad/attachment.html>


More information about the mlpack-git mailing list