projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54dc09e
)
Update Building.md (#6473)
author
Arnaud LE CAM
<arnaud.lecam@yahoo.fr>
Fri, 19 Feb 2021 03:51:41 +0000
(
04:51
+0100)
committer
GitHub
<noreply@github.com>
Fri, 19 Feb 2021 03:51:41 +0000
(19:51 -0800)
`cmake . -D FLATBUFFERS_CXX_FLAGS="Wno-error"` returns an error (file 'Wno-error' not found)
docs/source/Building.md
patch
|
blob
|
history
diff --git
a/docs/source/Building.md
b/docs/source/Building.md
index
57acbd5
..
cc69f48
100644
(file)
--- a/
docs/source/Building.md
+++ b/
docs/source/Building.md
@@
-45,7
+45,7
@@
It is possible to cancel `warnings as errors` flag at `cmake` configuration stag
appended to the project-level `CMAKE_CXX_FLAGS` variable.
Examples:
-- GCC and Clang: `cmake . -D FLATBUFFERS_CXX_FLAGS="Wno-error"`
+- GCC and Clang: `cmake . -D FLATBUFFERS_CXX_FLAGS="
-
Wno-error"`
- MSVC: `cmake . -D FLATBUFFERS_CXX_FLAGS="/WX-"`
- MSVC: `cmake . -D FLATBUFFERS_CXX_FLAGS="/Wv <compiler.version>"`