diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-07-17 09:46:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-17 09:46:12 -0700 |
commit | 75c587571f38746e98f18f56c29dd7ae8884680c (patch) | |
tree | e3b692a81f2de1a64a60fb008d6dff64ad1a341f | |
parent | 767ac02841130364f5415e5e5df449eed2a000aa (diff) | |
parent | d586a2ce2f25a7486a47aa9584fd1c446097326b (diff) |
Auto merge of #815 - roblabla:patch-1, r=emilio
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.md | 2 |
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. |