summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Lambertz <github@roblab.la>2017-07-17 18:30:01 +0200
committerGitHub <noreply@github.com>2017-07-17 18:30:01 +0200
commitd586a2ce2f25a7486a47aa9584fd1c446097326b (patch)
treee3b692a81f2de1a64a60fb008d6dff64ad1a341f
parent767ac02841130364f5415e5e5df449eed2a000aa (diff)
Document -x c++, not -x=c++
When using -x=c++ in bindgen arguments, we hit #340. We should use -x c++ instead.
-rw-r--r--book/src/cpp.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/cpp.md b/book/src/cpp.md
index e0fbecb7..016caf1b 100644
--- a/book/src/cpp.md
+++ b/book/src/cpp.md
@@ -17,7 +17,7 @@ of them in a type it is generating bindings for:
* SFINAE
When passing in header files, the file will automatically be treated as C++ if
-it ends in `.hpp`. If it doesn't, adding `-x=c++` clang args can be used to
+it ends in `.hpp`. If it doesn't, adding `-x c++` clang args can be used to
force C++ mode. You probably also want to use `-std=c++14` or similar clang args
as well.