Add flatc option to inhibit all warnings #6005 (#6301)
authortira-misu <gunter.burchardt@boschrexroth.de>
Thu, 10 Dec 2020 22:03:53 +0000 (23:03 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Dec 2020 22:03:53 +0000 (14:03 -0800)
commit9fca5e4f42ffedef5fe58da616c1df405c2411f7
tree98f28ad8c09993eb783cc64cf38c845b5c18e396
parent92a806b4e80bfc8405b5fed9a4116541096a10bc
Add flatc option to inhibit all warnings #6005 (#6301)

* Fix C/C++ Create<Type>Direct with sorted vectors

If a struct has a key the vector has to be sorted. To sort the vector
you can't use "const".

* Changes due to code review

* Improve code readability

* Add generate of JSON schema to string to lib

* option indent_step is supported

* Remove unused variables

* Fix break in test

* Fix style to be consistent with rest of the code

* Add option --no-warnings to inhibit all warnings

* Fix order of member initialization

* Add documentation for --no-warnings
docs/source/Compiler.md
include/flatbuffers/idl.h
src/flatc.cpp
src/idl_parser.cpp