Skip to content

Conversation

@benbuck
Copy link

@benbuck benbuck commented Oct 6, 2018

Minor cleanup of some clang warnings in unity.c and clang CMake warning settings.

@FSMaxB
Copy link
Collaborator

FSMaxB commented Oct 10, 2018

The warnings in Unity are better fixed in Unity itself. I fixed some of those in the past, but haven't found the time to do it again since then.

I already disabled -Werror for Unity at least.

list(APPEND custom_compiler_flags
-std=c89
-pedantic
-Weverything
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-Weverything is not something I'm willing to put in there. I use it from time to time in order to find new warnings that I can use though.

@FSMaxB
Copy link
Collaborator

FSMaxB commented Oct 10, 2018

I'm closing this because this should be fixed upstream.

@FSMaxB FSMaxB closed this Oct 10, 2018
meetrp pushed a commit to meetrp/cJSON that referenced this pull request Oct 13, 2018
287e076 Post release
774da10 Merge pull request DaveGamble#296 from jlindgren90/master
629b86d Merge unity_setup.h into unity.h.
0914d80 Merge pull request DaveGamble#308 from codehearts/patch-1
5ee55fe Fix missing TEST_ASSERT_EACH_EQUAL_HEX_MESSAGE
38c387b Merge pull request DaveGamble#304 from VLambret/master
17d4ea9 Color test results using ANSI escape codes
031b1ba Merge pull request DaveGamble#300 from jsalling/bugfix/greater-than
df78aad Make weak symbol usage more portable:
a7e8797 Fix link errors with MinGW.
94a3008 Update continuous integration to build 32-bit Unity
b119919 Add 64-bit comparison asserts
91bcbe1 Add 'greater/less or equal to' asserts on integers
8caade7 Fix bug in greater/less than asserts on unsigned int
1381a1a Update documentation.
2593c31 Allow suiteSetUp() and suiteTearDown() to be provided as normal C functions.
60def10 Update configuration docs

git-subtree-dir: tests/unity
git-subtree-split: 287e076962ec711cd2bdf08364a8df9ce51e106b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants