Fix #3497: Add support for compiling in g++ 4.4 and 4.5
authorChandra Penke <chandrapenke@gmail.com>
Wed, 6 Jan 2016 16:31:53 +0000 (08:31 -0800)
committerNalinichandra Penke <chandrapenke@gmail.com>
Sat, 9 Jan 2016 12:30:50 +0000 (06:30 -0600)
commitb63ebad49dc0ff3456c787f9b689144f6e8860c7
tree33bc19109aff2f2ff66c68f6ae14321b7da9622b
parent01025fa22bd288d9b4c52a74d4acd771fc7983e2
Fix #3497: Add support for compiling in g++ 4.4 and 4.5

- Removed uses of lambda expressions

- Added custom defines for constexpr and nullptr

- Removed trailing comma of last value from generated enums
12 files changed:
include/flatbuffers/flatbuffers.h
include/flatbuffers/hash.h
include/flatbuffers/idl.h
include/flatbuffers/util.h
samples/monster_generated.h
src/flatc.cpp
src/idl_gen_cpp.cpp
src/idl_parser.cpp
tests/monster_test_generated.h
tests/namespace_test/namespace_test1_generated.h
tests/namespace_test/namespace_test2_generated.h
tests/test.cpp