Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
mpim-sw
libcdi
Commits
d580e96f
Commit
d580e96f
authored
1 year ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Annotate unproblematic warning from older compiler.
parent
e244d873
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!91
Add alternative code path for huge buffers.
,
!89
Miscellaneous fixes and CDI-PIO improvements
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/printinfo.c
+8
-0
8 additions, 0 deletions
app/printinfo.c
with
8 additions
and
0 deletions
app/printinfo.c
+
8
−
0
View file @
d580e96f
...
...
@@ -630,6 +630,11 @@ printDot(int ndotout, int *nfact, int *ncout)
return
ndotout
;
}
/* gcc 4.9 makes (valid) assumptions that nvdatetime will not overflow */
#if defined __GNUC__ || (__GNUC__ == 4 && __GNUC_MINOR__ == 9)
#pragma GCC diagnostic push
#pragma GCC diagnostic warning "-Wstrict-overflow"
#endif
void
printTimesteps
(
int
streamID
,
int
taxisID
,
int
verbose
)
{
...
...
@@ -701,3 +706,6 @@ printTimesteps(int streamID, int taxisID, int verbose)
}
}
}
#if defined __GNUC__ || (__GNUC__ == 4 && __GNUC_MINOR__ == 9)
#pragma GCC diagnostic pop
#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