We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
a@ubuntu:~/ft_printf_intra$ /bin/bash /home/ft_printf_intra/test.sh ➤ Object: obj/source_generator.o clang++ -std=c++11 -Wall -Wextra -ferror-limit=999 -funroll-loops -Iinc -o obj/source_generator.o -c src/source_generator.cpp src/source_generator.cpp:52:6: error: use of undeclared identifier 'strchr' if (strchr("aAeEfFgGcs", convertion)) ^ src/source_generator.cpp:54:6: error: use of undeclared identifier 'strchr' if (strchr("idouxXDOU", convertion)) ^ src/source_generator.cpp:102:8: error: use of undeclared identifier 'strchr' if (!strchr("pcCS", convertion) && padd != NOPADD) ^ 3 errors generated. make: *** [Makefile:192: obj/source_generator.o] Error 1
The text was updated successfully, but these errors were encountered:
adding the include <cstring> in inc/source-generator.h add the symbol for strchr, and solves the issue
<cstring>
inc/source-generator.h
strchr
Sorry, something went wrong.
Add the include for <cstring>
35ff54b
this adds the symbol for strchr. Fixes alelievr#4
No branches or pull requests
a@ubuntu:~/ft_printf_intra$ /bin/bash /home/ft_printf_intra/test.sh
➤ Object: obj/source_generator.o
clang++ -std=c++11 -Wall -Wextra -ferror-limit=999 -funroll-loops -Iinc -o obj/source_generator.o -c src/source_generator.cpp
src/source_generator.cpp:52:6: error: use of undeclared identifier 'strchr'
if (strchr("aAeEfFgGcs", convertion))
^
src/source_generator.cpp:54:6: error: use of undeclared identifier 'strchr'
if (strchr("idouxXDOU", convertion))
^
src/source_generator.cpp:102:8: error: use of undeclared identifier 'strchr'
if (!strchr("pcCS", convertion) && padd != NOPADD)
^
3 errors generated.
make: *** [Makefile:192: obj/source_generator.o] Error 1
The text was updated successfully, but these errors were encountered: