From b651fcffa0f14450fe58cddf56719551c6e4a6bf Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 13 Aug 2010 13:30:26 +0000 Subject: [PATCH] Fix compilation with gcc 4.5 --- Changelog | 3 +++ src/main.cpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index c6404ca8f..42259b4c3 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,6 @@ +* Unreleased - Christophe Dumez - v2.3.1 + - BUGFIX: Fix compilation with gcc 4.5 + * Tue Jul 27 2010 - Christophe Dumez - v2.3.0 - FEATURE: Simplified torrent root folder renaming/truncating (< v2.3.0 is no longer forward compatible) - FEATURE: Remember previous save paths in torrent addition dialog diff --git a/src/main.cpp b/src/main.cpp index 7064589f7..808dac51f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -135,7 +135,7 @@ void sigsegvHandler(int) { std::cerr << "\n\n*************************************************************\n"; std::cerr << "Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n"; print_stacktrace(); - std::raise(SIGSEGV); + raise(SIGSEGV); } void sigabrtHandler(int) { signal(SIGABRT, 0); @@ -143,7 +143,7 @@ void sigabrtHandler(int) { std::cerr << "\n\n*************************************************************\n"; std::cerr << "Catching SIGABRT, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n"; print_stacktrace(); - std::raise(SIGABRT); + raise(SIGABRT); } #endif