Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
27a42bab
Commit
27a42bab
authored
6 years ago
by
Sergey Linev
Committed by
Axel Naumann
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
http: -Wdate-time warning appeared first in gcc5, not exits before
parent
d445faae
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
net/http/civetweb/civetweb.c
+4
-0
4 additions, 0 deletions
net/http/civetweb/civetweb.c
with
4 additions
and
0 deletions
net/http/civetweb/civetweb.c
+
4
−
0
View file @
27a42bab
...
@@ -19046,9 +19046,11 @@ mg_get_system_info_impl(char *buffer, int buflen)
...
@@ -19046,9 +19046,11 @@ mg_get_system_info_impl(char *buffer, int buflen)
/* Build date */
/* Build date */
{
{
#if defined(GCC_DIAGNOSTIC)
#if defined(GCC_DIAGNOSTIC)
#if GCC_VERSION >= 50000
#pragma GCC diagnostic push
#pragma GCC diagnostic push
/* Disable bogus compiler warning -Wdate-time */
/* Disable bogus compiler warning -Wdate-time */
#pragma GCC diagnostic ignored "-Wdate-time"
#pragma GCC diagnostic ignored "-Wdate-time"
#endif
#endif
#endif
mg_snprintf(NULL,
mg_snprintf(NULL,
NULL,
NULL,
...
@@ -19059,7 +19061,9 @@ mg_get_system_info_impl(char *buffer, int buflen)
...
@@ -19059,7 +19061,9 @@ mg_get_system_info_impl(char *buffer, int buflen)
eol);
eol);
#if defined(GCC_DIAGNOSTIC)
#if defined(GCC_DIAGNOSTIC)
#if GCC_VERSION >= 50000
#pragma GCC diagnostic pop
#pragma GCC diagnostic pop
#endif
#endif
#endif
system_info_length += (int)strlen(block);
system_info_length += (int)strlen(block);
...
...
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