diff --git a/README.md b/README.md index ed15d65..3b05f24 100644 --- a/README.md +++ b/README.md @@ -234,14 +234,3 @@ configuration, you may want to run the included test suite. This is the test sui projects we've used it on) that we use to make sure that things actually work the way we claim. The test suite makes use of Ceedling, which uses the Unity Test Framework. It will require a native C compiler. The example makefile and rakefile both use gcc. - -License -======= - -*This software is licensed under the MIT License: -Copyright (c) 2007-2021 Mark VanderVoord* - -*Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.* - -*_THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE._* diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..5e1af5e --- /dev/null +++ b/license.txt @@ -0,0 +1,24 @@ +Copyright (c) 2007-2024 Mark VanderVoord + +https://opensource.org/license/mit/ + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/test/TestException.c b/test/TestException.c index e248cb0..3d03d52 100644 --- a/test/TestException.c +++ b/test/TestException.c @@ -281,7 +281,7 @@ void test_CanHaveNestedTryBlocksInASingleFunction_ThrowInside(void) void test_CanHaveNestedTryBlocksInASingleFunction_ThrowOutside(void) { - int i = 0; + volatile int i = 0; CEXCEPTION_T e; Try @@ -343,7 +343,7 @@ void test_AThrowWithoutOutsideATryCatchWillUseDefaultHandlerEvenAfterTryCatch(vo void test_AbilityToExitTryWithoutThrowingAnError(void) { - int i=0; + volatile int i=0; CEXCEPTION_T e; Try @@ -364,7 +364,7 @@ void test_AbilityToExitTryWithoutThrowingAnError(void) void test_AbilityToExitTryWillOnlyExitOneLevel(void) { - int i=0; + volatile int i=0; CEXCEPTION_T e; CEXCEPTION_T e2;