printfTester icon indicating copy to clipboard operation
printfTester copied to clipboard

Issues with compiling

Open fadz-fizzy opened this issue 10 months ago • 0 comments

The terminal indicated that

In file included from tests/c_test.cpp:10:utils/print.hpp:66:18: error: use of undeclared identifier 'ft_printf' ft_printfRet = ft_printf(s, args...); write(1, &eof, 1);

Need to include this line at the top of print.hpp for the code to work

extern "C" { int ft_printf(const char *format, ...); }

fadz-fizzy avatar Jun 22 '25 12:06 fadz-fizzy