Skip to content

🐛🐧 Try build Unity w/ -DUNITY_EXCLUDE_FLOAT_PRINT#815

Merged
mvandervoord merged 2 commits intoThrowTheSwitch:masterfrom
JamesB192:master
Nov 12, 2025
Merged

🐛🐧 Try build Unity w/ -DUNITY_EXCLUDE_FLOAT_PRINT#815
mvandervoord merged 2 commits intoThrowTheSwitch:masterfrom
JamesB192:master

Conversation

@JamesB192
Copy link
Contributor

unity/src $ clang -c -o unity.{o,c} -DUNITY_EXCLUDE_FLOAT_PRINT
unity.c:1126:9: error: call to undeclared function 'UnityPrintFloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1126 |         UnityPrintFloat((UNITY_DOUBLE)expected);
      |         ^
unity.c:1126:9: note: did you mean 'UnityPrintChar'?
unity.c:88:13: note: 'UnityPrintChar' declared here
   88 | static void UnityPrintChar(const char* pch)
      |             ^
unity.c:1157:9: error: call to undeclared function 'UnityPrintFloat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1157 |         UnityPrintFloat(actual);
      |         ^
2 errors generated.

@mvandervoord mvandervoord merged commit 51d2db9 into ThrowTheSwitch:master Nov 12, 2025
4 checks passed
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.

2 participants