Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
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
protobuf
Commits
d2f3adb3
Commit
d2f3adb3
authored
Aug 10, 2017
by
Jisi Liu
Committed by
GitHub
Aug 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3481 from pherl/nowarning
Make no warning test stricter.
parents
9adb4e8c
e8fc0661
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
Makefile.am
src/Makefile.am
+7
-12
No files found.
src/Makefile.am
View file @
d2f3adb3
...
...
@@ -681,10 +681,10 @@ protoc_outputs = \
google/protobuf/unittest_preserve_unknown_enum.pb.h
\
google/protobuf/unittest_proto3_arena.pb.cc
\
google/protobuf/unittest_proto3_arena.pb.h
\
google/protobuf/unittest_proto3_arena_lite.pb.cc
\
google/protobuf/unittest_proto3_arena_lite.pb.h
\
google/protobuf/unittest_proto3_lite.pb.cc
\
google/protobuf/unittest_proto3_lite.pb.h
\
google/protobuf/unittest_proto3_arena_lite.pb.cc
\
google/protobuf/unittest_proto3_arena_lite.pb.h
\
google/protobuf/unittest_proto3_lite.pb.cc
\
google/protobuf/unittest_proto3_lite.pb.h
\
google/protobuf/unittest_well_known_types.pb.cc
\
google/protobuf/unittest_well_known_types.pb.h
\
google/protobuf/util/internal/testdata/anys.pb.cc
\
...
...
@@ -922,16 +922,11 @@ no_warning_test.cc:
echo
"#include <
$$
{FILE}>"
>>
no_warning_test.cc
;
\
fi
\
done
echo
"#include <gtest/gtest.h>"
>>
no_warning_test.cc
echo
"TEST(NoWarningTest, Empty) {}"
>>
no_warning_test.cc
echo
"int main(int, char**) { return 0; }"
>>
no_warning_test.cc
no_warning_test_LDADD
=
$(PTHREAD_LIBS)
libprotobuf.la
\
../gmock/gtest/lib/libgtest.la
\
../gmock/gtest/lib/libgtest_main.la
no_warning_test_CPPFLAGS
=
-I
$(srcdir)
/../gmock/gtest/include
no_warning_test_LDADD
=
$(PTHREAD_LIBS)
libprotobuf.la libprotoc.la
no_warning_test_CXXFLAGS
=
$(PTHREAD_CFLAGS)
$(PTHREAD_DEF)
$(ZLIB_DEF)
\
-Wall
-Werror
-Werror
=
missing-declarations
\
-Werror
=
missing-field-initializers
-Wall
-Wextra
-Werror
-Wno-unused-parameter
nodist_no_warning_test_SOURCES
=
no_warning_test.cc
$(protoc_outputs)
TESTS
=
protobuf-test protobuf-lazy-descriptor-test protobuf-lite-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