summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/StackTrace.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Windows: remove extra newlines in backtrace (#5218)Tiger Wang2021-05-061-1/+1
| | | - Remove DLL lines, not generally needed.
* Android build cleanup (#4734)Mat2020-05-101-2/+2
| | | | | | | | | * Android build cleanup * Remove unnecessary workaround * Remove more unnecessities * Bump cmake version
* Removed the LeakFinder for Windows. (#3777)Mattes D2017-06-191-5/+3
|
* Use CMake's Android generators to crosscompileTiger Wang2016-12-121-2/+2
|
* Added HTTPS links wherever they are supported.Alexander Harkness2015-12-191-5/+1
|
* Use C++11 auto instead of per-platform types.Mattes D2015-12-031-8/+1
| | | | Closes #2686.
* Include execinfo.h only on __GLIBC__Thomas Boerger2015-11-191-1/+3
|
* Define stacktrace functions only if __GLIBC__ is definedThomas Boerger2015-11-191-5/+7
|
* Fix FreeBSD/clang errors caused by -Werrorlinnemannr2015-05-301-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With FreeBSD/clang, -Werror combined with the configured warning flags yields some fatal errors, specifically related to signed conversion, 64 to 32 bit conversion, and tautological compares. CONTRIBUTORS Add myself to the contributor list src/Generating/FinishGen.cpp In cFinishGenPassiveMobs::GetRandomMob(), change the type of RandMob from size_t to the difference_type of the ListOfSpawnables iterator MobIter. Using size_t triggers a 64 bit to 32 bit conversion if the difference_type of the iterator class is 64 bit Also explicitly cast the noise expression to unsigned long so we don't get a signed conversion warning from the modulo against ListOfSpawnables.size() src/OSSupport/StackTrace.cpp FreeBSD 10 and above includes a non glibc implementation of benchmark() for which size_t, not int, is the return type. To account for this and prevent a signed conversion warning, abstract the type for numItems with a macro btsize src/StringUtils.h In StringToInteger(), correct a tautological compare warning for unsigned types with the template. If T is unsigned, comparing std::numeric_limits<T>::min() to the unsigned result is always false. That control can enter this branch in an evaluated template with an unsigned type T may also permit a signed number to be parsed and erroneously stripped of its signedness at runtime. To guard against this and avoid the warning in the case that the number parsed from the string is non-positive, return false and don't try to parse if T is unsigned and control enters the non-positive branch
* Fixed various warnings.Mattes D2015-01-181-1/+1
|
* Fixed compiling on linux.Howaner2014-11-301-0/+1
|
* Added a basic stacktracing for assert and signal failures.Mattes D2014-11-291-0/+43