Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua: fix undeclared lua_writestringerror #12147

Merged

Conversation

ligurio
Copy link
Contributor

@ligurio ligurio commented Jul 2, 2024

+ /src/aflplusplus/afl-clang-fast -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -I/src/testdir/build/lua-master/source/ -c /src/fuzz_lua.c -o fuzz_lua.o [1m/src/fuzz_lua.c:79:14: [0m[0;1;35mwarning: [0m[1mcall to undeclared function 'lua_writestringerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
   79 |   if (pname) lua_writestringerror("%s: ", pname);[0m
      | [0;1;32m             ^
[0m1 warning generated.

+ /src/aflplusplus/afl-clang-fast -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -I/src/testdir/build/lua-master/source/ -c /src/fuzz_lua.c -o fuzz_lua.o
[1m/src/fuzz_lua.c:79:14: [0m[0;1;35mwarning: [0m[1mcall to undeclared function 'lua_writestringerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
   79 |   if (pname) lua_writestringerror("%s: ", pname);[0m
      | [0;1;32m             ^
[0m1 warning generated.
@ligurio
Copy link
Contributor Author

ligurio commented Jul 2, 2024

@DavidKorczynski could you please review? Initially, fuzz_lua.c was authored by you.

Copy link

github-actions bot commented Jul 2, 2024

ligurio is either the primary contact or is in the CCs list of projects/lua.
ligurio has previously contributed to projects/lua. The previous PR was #11804

@jonathanmetzman jonathanmetzman merged commit 1167f80 into google:master Jul 2, 2024
16 checks passed
@ligurio ligurio deleted the ligurio/fix-building-lua-project branch July 2, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants