summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/StackTrace.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-10Android build cleanup (#4734)Mat1-2/+2
* Android build cleanup * Remove unnecessary workaround * Remove more unnecessities * Bump cmake version
2017-06-19Removed the LeakFinder for Windows. (#3777)Mattes D1-5/+3
2016-12-12Use CMake's Android generators to crosscompileTiger Wang1-2/+2
2015-12-19Added HTTPS links wherever they are supported.Alexander Harkness1-5/+1
2015-12-03Use C++11 auto instead of per-platform types.Mattes D1-8/+1
Closes #2686.
2015-11-19Include execinfo.h only on __GLIBC__Thomas Boerger1-1/+3
2015-11-19Define stacktrace functions only if __GLIBC__ is definedThomas Boerger1-5/+7
2015-05-30Fix FreeBSD/clang errors caused by -Werrorlinnemannr1-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
2015-01-18Fixed various warnings.Mattes D1-1/+1
2014-11-30Fixed compiling on linux.Howaner1-0/+1
2014-11-29Added a basic stacktracing for assert and signal failures.Mattes D1-0/+43