Skip to content

Commit d586a2c

Browse files
authored
Document -x c++, not -x=c++
When using -x=c++ in bindgen arguments, we hit #340. We should use -x c++ instead.
1 parent 767ac02 commit d586a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ of them in a type it is generating bindings for:
1717
* SFINAE
1818

1919
When passing in header files, the file will automatically be treated as C++ if
20-
it ends in `.hpp`. If it doesn't, adding `-x=c++` clang args can be used to
20+
it ends in `.hpp`. If it doesn't, adding `-x c++` clang args can be used to
2121
force C++ mode. You probably also want to use `-std=c++14` or similar clang args
2222
as well.
2323

0 commit comments

Comments
 (0)