diff options
author | Robin Lambertz <github@roblab.la> | 2017-07-17 18:30:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-17 18:30:01 +0200 |
commit | d586a2ce2f25a7486a47aa9584fd1c446097326b (patch) | |
tree | e3b692a81f2de1a64a60fb008d6dff64ad1a341f | |
parent | 767ac02841130364f5415e5e5df449eed2a000aa (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.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. |