Skip to content

Conversation

@ejohnstown
Copy link
Contributor

@ejohnstown ejohnstown commented Jul 17, 2025

Modify all the test executable CPPFLAGS to only have -DNO_MAIN_LOOP and AM_CPPFLAGS. This removes a lot of duplicate setup of flags for each of the tests. Cleanup the fallout from that when disabling inlining.

1. Modify all the test executable `CPPFLAGS` to only have
   `-DNO_MAIN_LOOP` and `AM_CPPFLAGS`. This removes a lot of duplicate
   setup of flags for each of the tests.
2. Delete the echoserver's `CFLAGS`. It is just setting the `CFLAGS` for
   its compile to `AM_CFLAGS` and `AM_CPPFLAGS` which are included by
   default.
3. Add the macro WS_MAYBE_UNUSED that may be the unused attribute.
4. If INLINE isn't set to some form of inline, set it to
   WS_MAYBE_UNUSED.
5. Remove redundant ThreadStartNoJoin() macros from the testing header.
@JacobBarthelmeh JacobBarthelmeh merged commit 8c0c7fd into wolfSSL:master Jul 17, 2025
93 checks passed
@ejohnstown ejohnstown deleted the debug-flags branch July 17, 2025 23:29
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