diff --git a/GorgonMeducer.PLOOC.pdsc b/GorgonMeducer.PLOOC.pdsc index 6fbe358..0ee863c 100644 --- a/GorgonMeducer.PLOOC.pdsc +++ b/GorgonMeducer.PLOOC.pdsc @@ -16,19 +16,22 @@ https://github.com/GorgonMeducer/PLOOC.git - + + - Improve compatibility with the latest C++ + + - Add helper macros for heap - Add __new_class and __free_class for using malloc and free together with constructors and destructors, i.e. xxxx_init() and xxxx_depose(). - Update example project - Other minor update - + - Improving CMSIS-Pack - Add example - Add code template for base class and derived class - Other minor update - + - Add CMSIS-Pack - Other minor update @@ -84,15 +87,15 @@ --> - + A low-overhead OOPC template. - - - - + + + + diff --git a/README.md b/README.md index 64069d7..734f30a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PLOOC (Protected Low-overhead Object Oriented programming with ANSI-C) v4.6.1 +# PLOOC (Protected Low-overhead Object Oriented programming with ANSI-C) v4.6.2 ## Introduction --- @@ -77,6 +77,8 @@ If you have any questions or suggestions, please feel free to let us know. ## Update Log --- +- \[12/05/2022\] Improve compatibility with the latest C++ language, version 4.6.2 + - \[02/01/2022\] Add helper macros for heap, version 4.6.1 - Add ***\_\_new_class()*** and ***\_\_free_class()*** for using malloc and free together with constructors and destructors, i.e. ***xxxx_init()*** and ***xxxx_depose()***. - Update example project diff --git a/cmsis-pack/GorgonMeducer.PLOOC.4.5.9.pack b/cmsis-pack/GorgonMeducer.PLOOC.4.5.9.pack deleted file mode 100644 index 804ad08..0000000 Binary files a/cmsis-pack/GorgonMeducer.PLOOC.4.5.9.pack and /dev/null differ diff --git a/cmsis-pack/GorgonMeducer.PLOOC.4.6.0.pack b/cmsis-pack/GorgonMeducer.PLOOC.4.6.0.pack deleted file mode 100644 index c915355..0000000 Binary files a/cmsis-pack/GorgonMeducer.PLOOC.4.6.0.pack and /dev/null differ diff --git a/cmsis-pack/GorgonMeducer.PLOOC.4.6.1.pack b/cmsis-pack/GorgonMeducer.PLOOC.4.6.1.pack deleted file mode 100644 index 77a07da..0000000 Binary files a/cmsis-pack/GorgonMeducer.PLOOC.4.6.1.pack and /dev/null differ diff --git a/cmsis-pack/GorgonMeducer.PLOOC.4.6.2.pack b/cmsis-pack/GorgonMeducer.PLOOC.4.6.2.pack new file mode 100644 index 0000000..ae31822 Binary files /dev/null and b/cmsis-pack/GorgonMeducer.PLOOC.4.6.2.pack differ diff --git a/cmsis-pack/GorgonMeducer.PLOOC.pdsc b/cmsis-pack/GorgonMeducer.PLOOC.pdsc index 6fbe358..0ee863c 100644 --- a/cmsis-pack/GorgonMeducer.PLOOC.pdsc +++ b/cmsis-pack/GorgonMeducer.PLOOC.pdsc @@ -16,19 +16,22 @@ https://github.com/GorgonMeducer/PLOOC.git - + + - Improve compatibility with the latest C++ + + - Add helper macros for heap - Add __new_class and __free_class for using malloc and free together with constructors and destructors, i.e. xxxx_init() and xxxx_depose(). - Update example project - Other minor update - + - Improving CMSIS-Pack - Add example - Add code template for base class and derived class - Other minor update - + - Add CMSIS-Pack - Other minor update @@ -84,15 +87,15 @@ --> - + A low-overhead OOPC template. - - - - + + + + diff --git a/plooc.h b/plooc.h index f0eb69b..8371ddd 100644 --- a/plooc.h +++ b/plooc.h @@ -148,7 +148,7 @@ extern "C" { //! \brief macro for inheritance -#if (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) && !defined(__cplusplus) +#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L #define __IMPLEMENT_EX(__TYPE, __NAME) \ __TYPE __NAME; #else