Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gflags
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
gflags
Commits
4f100cb6
Commit
4f100cb6
authored
Dec 31, 2015
by
Sergey Sharybin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve several missing declarations warnings
parent
9db82895
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
gflags_completions.cc
src/gflags_completions.cc
+2
-0
gflags_declare_flags.cc
test/gflags_declare_flags.cc
+1
-0
gflags_unittest.cc
test/gflags_unittest.cc
+1
-1
No files found.
src/gflags_completions.cc
View file @
4f100cb6
...
...
@@ -47,6 +47,8 @@
// 5b) Trim most flag's descriptions to fit on a single terminal line
#include "gflags_completions.h"
#include "config.h"
#include <stdio.h>
...
...
test/gflags_declare_flags.cc
View file @
4f100cb6
...
...
@@ -3,6 +3,7 @@
DECLARE_string
(
message
);
// in gflags_delcare_test.cc
void
print_message
();
void
print_message
()
{
std
::
cout
<<
FLAGS_message
<<
std
::
endl
;
...
...
test/gflags_unittest.cc
View file @
4f100cb6
...
...
@@ -1485,7 +1485,7 @@ TEST(FlagsValidator, FlagSaver) {
}
// unnamed namespace
int
main
(
int
argc
,
char
**
argv
)
{
static
int
main
(
int
argc
,
char
**
argv
)
{
// Run unit tests only if called without arguments, otherwise this program
// is used by an "external" usage test
...
...
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