diff --git a/CHANGELOG.md b/CHANGELOG.md index ec5ecac0..6ce8d5b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## [0.4.2-pre] +## [0.4.2] - Fix SIGNIFICANT bug miscalculating the number of builder frames in use. Nesting 8 levels would cause memory corruption (#41). - Fix minor memory leak in flatcc compiler. diff --git a/include/flatcc/flatcc_version.h b/include/flatcc/flatcc_version.h index 539c3cf5..63c3b403 100644 --- a/include/flatcc/flatcc_version.h +++ b/include/flatcc/flatcc_version.h @@ -1,6 +1,6 @@ -#define FLATCC_VERSION_TEXT "0.4.2-pre" +#define FLATCC_VERSION_TEXT "0.4.2" #define FLATCC_VERSION_MAJOR 0 #define FLATCC_VERSION_MINOR 4 #define FLATCC_VERSION_PATCH 2 /* 1 or 0 */ -#define FLATCC_VERSION_RELEASED 0 +#define FLATCC_VERSION_RELEASED 1 diff --git a/include/flatcc/portable/pversion.h b/include/flatcc/portable/pversion.h index ee553754..48508cb7 100644 --- a/include/flatcc/portable/pversion.h +++ b/include/flatcc/portable/pversion.h @@ -1,6 +1,6 @@ -#define PORTABLE_VERSION_TEXT "0.2.2-pre" +#define PORTABLE_VERSION_TEXT "0.2.2" #define PORTABLE_VERSION_MAJOR 0 #define PORTABLE_VERSION_MINOR 2 #define PORTABLE_VERSION_PATCH 2 /* 1 or 0 */ -#define PORTABLE_VERSION_RELEASED 0 +#define PORTABLE_VERSION_RELEASED 1 diff --git a/include/flatcc/reflection/flatbuffers_common_builder.h b/include/flatcc/reflection/flatbuffers_common_builder.h index 9c6a29b9..fefd7dd6 100644 --- a/include/flatcc/reflection/flatbuffers_common_builder.h +++ b/include/flatcc/reflection/flatbuffers_common_builder.h @@ -1,7 +1,7 @@ #ifndef FLATBUFFERS_COMMON_BUILDER_H #define FLATBUFFERS_COMMON_BUILDER_H -/* Generated by flatcc 0.4.1 FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.4.2 FlatBuffers schema compiler for C by dvide.com */ /* Common FlatBuffers build functionality for C. */ diff --git a/include/flatcc/reflection/flatbuffers_common_reader.h b/include/flatcc/reflection/flatbuffers_common_reader.h index a9c162dc..fc9e3fa1 100644 --- a/include/flatcc/reflection/flatbuffers_common_reader.h +++ b/include/flatcc/reflection/flatbuffers_common_reader.h @@ -1,7 +1,7 @@ #ifndef FLATBUFFERS_COMMON_READER_H #define FLATBUFFERS_COMMON_READER_H -/* Generated by flatcc 0.4.1 FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.4.2 FlatBuffers schema compiler for C by dvide.com */ /* Common FlatBuffers read functionality for C. */ diff --git a/include/flatcc/reflection/reflection_builder.h b/include/flatcc/reflection/reflection_builder.h index 3d4f06be..52d7cfe4 100644 --- a/include/flatcc/reflection/reflection_builder.h +++ b/include/flatcc/reflection/reflection_builder.h @@ -1,7 +1,7 @@ #ifndef REFLECTION_BUILDER_H #define REFLECTION_BUILDER_H -/* Generated by flatcc 0.4.1 FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.4.2 FlatBuffers schema compiler for C by dvide.com */ #ifndef REFLECTION_READER_H #include "reflection_reader.h" diff --git a/include/flatcc/reflection/reflection_reader.h b/include/flatcc/reflection/reflection_reader.h index 11852350..a38e5e99 100644 --- a/include/flatcc/reflection/reflection_reader.h +++ b/include/flatcc/reflection/reflection_reader.h @@ -1,13 +1,13 @@ #ifndef REFLECTION_READER_H #define REFLECTION_READER_H -/* Generated by flatcc 0.4.1 FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.4.2 FlatBuffers schema compiler for C by dvide.com */ #ifndef FLATBUFFERS_COMMON_READER_H #include "flatbuffers_common_reader.h" #endif #include "flatcc/flatcc_flatbuffers.h" -#ifndef alignas +#ifndef __alignas_is_defined #include #endif #define PDIAGNOSTIC_IGNORE_UNUSED diff --git a/include/flatcc/reflection/reflection_verifier.h b/include/flatcc/reflection/reflection_verifier.h index ca75adbd..3ec9d003 100644 --- a/include/flatcc/reflection/reflection_verifier.h +++ b/include/flatcc/reflection/reflection_verifier.h @@ -1,7 +1,7 @@ #ifndef REFLECTION_VERIFIER_H #define REFLECTION_VERIFIER_H -/* Generated by flatcc 0.4.1 FlatBuffers schema compiler for C by dvide.com */ +/* Generated by flatcc 0.4.2 FlatBuffers schema compiler for C by dvide.com */ #ifndef REFLECTION_READER_H #include "reflection_reader.h"