Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
glog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
glog
Commits
33252580
Commit
33252580
authored
Mar 26, 2015
by
Sergiu Dotenco
Committed by
Sergiu Dotenco
Jul 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow to use __declspec(noreturn)
parent
3d9fea9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
logging.h.in
src/glog/logging.h.in
+3
-3
No files found.
src/glog/logging.h.in
View file @
33252580
...
...
@@ -1219,7 +1219,7 @@ public:
void SendToSyslogAndLog(); // Actually dispatch to syslog and the logs
// Call abort() or similar to perform LOG(FATAL) crash.
static void
Fail() @ac_cv___attribute___noreturn@
;
static void
@ac_cv___attribute___noreturn@ Fail()
;
std::ostream& stream();
...
...
@@ -1267,7 +1267,7 @@ class GOOGLE_GLOG_DLL_DECL LogMessageFatal : public LogMessage {
public:
LogMessageFatal(const char* file, int line);
LogMessageFatal(const char* file, int line, const CheckOpString& result);
~LogMessageFatal() @ac_cv___attribute___noreturn@
;
@ac_cv___attribute___noreturn@ ~LogMessageFatal()
;
};
// A non-macro interface to the log facility; (useful
...
...
@@ -1571,7 +1571,7 @@ class GOOGLE_GLOG_DLL_DECL NullStreamFatal : public NullStream {
NullStreamFatal() { }
NullStreamFatal(const char* file, int line, const CheckOpString& result) :
NullStream(file, line, result) { }
@ac_cv___attribute___noreturn@ ~NullStreamFatal() { _exit(1); }
@ac_cv___attribute___noreturn@ ~NullStreamFatal()
throw ()
{ _exit(1); }
};
// Install a signal handler that will dump signal information and a stack
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment