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
c562c93a
Commit
c562c93a
authored
Nov 05, 2019
by
Zhao Junwang
Committed by
Adam Cozzette
Dec 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add `-std=c++11` to make it compile
make cpp won't compile since it requires `-std=c++11` com
parent
8eda7b7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Makefile
examples/Makefile
+2
-2
No files found.
examples/Makefile
View file @
c562c93a
...
@@ -41,11 +41,11 @@ protoc_middleman_dart: addressbook.proto
...
@@ -41,11 +41,11 @@ protoc_middleman_dart: addressbook.proto
add_person_cpp
:
add_person.cc protoc_middleman
add_person_cpp
:
add_person.cc protoc_middleman
pkg-config
--cflags
protobuf
# fails if protobuf is not installed
pkg-config
--cflags
protobuf
# fails if protobuf is not installed
c++ add_person.cc addressbook.pb.cc
-o
add_person_cpp
`
pkg-config
--cflags
--libs
protobuf
`
c++
-std
=
c++11
add_person.cc addressbook.pb.cc
-o
add_person_cpp
`
pkg-config
--cflags
--libs
protobuf
`
list_people_cpp
:
list_people.cc protoc_middleman
list_people_cpp
:
list_people.cc protoc_middleman
pkg-config
--cflags
protobuf
# fails if protobuf is not installed
pkg-config
--cflags
protobuf
# fails if protobuf is not installed
c++ list_people.cc addressbook.pb.cc
-o
list_people_cpp
`
pkg-config
--cflags
--libs
protobuf
`
c++
-std
=
c++11
list_people.cc addressbook.pb.cc
-o
list_people_cpp
`
pkg-config
--cflags
--libs
protobuf
`
add_person_dart
:
add_person.dart protoc_middleman_dart
add_person_dart
:
add_person.dart protoc_middleman_dart
...
...
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