Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
trex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
swp21_biotracker
trex
Commits
fcf8e15d
Commit
fcf8e15d
authored
4 years ago
by
Tristan Walter
Browse files
Options
Downloads
Patches
Plain Diff
* -haswell
parent
dc9cc6df
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Application/src/commons/common/cpputils/debug/Debug.cpp
+6
-6
6 additions, 6 deletions
Application/src/commons/common/cpputils/debug/Debug.cpp
with
6 additions
and
6 deletions
Application/src/commons/common/cpputils/debug/Debug.cpp
+
6
−
6
View file @
fcf8e15d
...
@@ -57,7 +57,7 @@ namespace DEBUG {
...
@@ -57,7 +57,7 @@ namespace DEBUG {
struct
RuntimeCheck
{
struct
RuntimeCheck
{
~
RuntimeCheck
()
{
~
RuntimeCheck
()
{
if
(
out
!=
stdout
)
{
if
(
out
&&
out
!=
stdout
)
{
if
(
!
runtime_quiet
())
if
(
!
runtime_quiet
())
DebugHeader
(
"PROGRAM TERMINATED"
);
DebugHeader
(
"PROGRAM TERMINATED"
);
...
@@ -178,10 +178,10 @@ insert_start(tree, ¤t_node, e); }
...
@@ -178,10 +178,10 @@ insert_start(tree, ¤t_node, e); }
#if _XCODE_COLORS_DISABLE
#if _XCODE_COLORS_DISABLE
if
(
!
out
||
out
==
stdout
)
{
if
(
!
out
||
out
==
stdout
)
{
out
=
fopen
(
"cout.log"
,
"wb"
);
out
=
fopen
(
"cout.log"
,
"wb"
);
if
(
NULL
==
out
)
{
perror
(
"opening cout.log"
);
throw
std
::
runtime_error
(
"cannot write cout.log"
);
}
if
(
NULL
==
out
)
{
perror
(
"opening cout.log"
);
}
err
=
fopen
(
"cerr.log"
,
"wb"
);
err
=
fopen
(
"cerr.log"
,
"wb"
);
if
(
NULL
==
err
)
{
perror
(
"opening cerr.log"
);
throw
std
::
runtime_error
(
"cannot write cerr.log"
);
}
if
(
NULL
==
err
)
{
perror
(
"opening cerr.log"
);
}
}
}
ENABLE_COLORS
=
CONSOLE_COLOR_STATE
::
ENABLE_UNIX
;
ENABLE_COLORS
=
CONSOLE_COLOR_STATE
::
ENABLE_UNIX
;
...
@@ -212,7 +212,7 @@ insert_start(tree, ¤t_node, e); }
...
@@ -212,7 +212,7 @@ insert_start(tree, ¤t_node, e); }
va_end
(
args
);
va_end
(
args
);
if
(
out
!=
stdout
)
{
if
(
out
&&
out
!=
stdout
)
{
fwrite
(
str
.
data
(),
sizeof
(
char
),
str
.
length
(),
out
);
fwrite
(
str
.
data
(),
sizeof
(
char
),
str
.
length
(),
out
);
fflush
(
out
);
fflush
(
out
);
}
}
...
@@ -268,7 +268,7 @@ insert_start(tree, ¤t_node, e); }
...
@@ -268,7 +268,7 @@ insert_start(tree, ¤t_node, e); }
}
}
#if __APPLE__
#if __APPLE__
if
(
out
!=
stdout
)
if
(
out
&&
out
!=
stdout
)
fprintf
(
out
,
"
\033
[fg%d,%d,%d;"
,
r
,
g
,
b
);
fprintf
(
out
,
"
\033
[fg%d,%d,%d;"
,
r
,
g
,
b
);
else
else
#endif
#endif
...
@@ -307,7 +307,7 @@ insert_start(tree, ¤t_node, e); }
...
@@ -307,7 +307,7 @@ insert_start(tree, ¤t_node, e); }
}
}
#if __APPLE__
#if __APPLE__
if
(
out
!=
stdout
)
if
(
out
&&
out
!=
stdout
)
fprintf
(
out
,
"
\033
[%02d;%dm"
,
prefix
,
final
);
fprintf
(
out
,
"
\033
[%02d;%dm"
,
prefix
,
final
);
else
else
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment