Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:weatherhead99
TeXmacs
noreturn_annotation.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File noreturn_annotation.patch of Package TeXmacs
Index: TeXmacs-v2.1.2+git251.g3fde831f/src/Kernel/Abstractions/basic.hpp =================================================================== --- TeXmacs-v2.1.2+git251.g3fde831f.orig/src/Kernel/Abstractions/basic.hpp +++ TeXmacs-v2.1.2+git251.g3fde831f/src/Kernel/Abstractions/basic.hpp @@ -89,7 +89,7 @@ bool debug_get (string s); void tm_failure (const char* msg); #ifdef USE_EXCEPTIONS extern string the_exception; -void tm_throw (const char* msg); +[[noreturn]] void tm_throw (const char* msg); void handle_exceptions (); #define ASSERT(cond,msg) { if (!(cond)) tm_throw (msg); } #define FAILED(msg) { tm_throw (msg); } Index: TeXmacs-v2.1.2+git251.g3fde831f/src/Data/Tree/tree_cursor.cpp =================================================================== --- TeXmacs-v2.1.2+git251.g3fde831f.orig/src/Data/Tree/tree_cursor.cpp +++ TeXmacs-v2.1.2+git251.g3fde831f/src/Data/Tree/tree_cursor.cpp @@ -232,8 +232,9 @@ closest_accessible (tree t, path p, int } } } - return path (); + } + return path (); } path Index: TeXmacs-v2.1.2+git251.g3fde831f/src/Plugins/Qt/QTMPixmapOrImage.hpp =================================================================== --- TeXmacs-v2.1.2+git251.g3fde831f.orig/src/Plugins/Qt/QTMPixmapOrImage.hpp +++ TeXmacs-v2.1.2+git251.g3fde831f/src/Plugins/Qt/QTMPixmapOrImage.hpp @@ -62,6 +62,7 @@ struct QTMPixmapOrImage { *((QImage*) rep)= *((QImage*) pxim.rep); else *((QPixmap*) rep)= *((QPixmap*) pxim.rep); + return *this; } void fill (const QColor& c) { if (headless_mode)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor