[webkit-gtk] TextCodec.cpp lacks include <cstdio> when compiling with clang-7.0

Michael Catanzaro mcatanzaro at igalia.com
Wed May 22 06:21:40 PDT 2019


On Tue, May 21, 2019 at 6:36 PM, Adrian Perez de Castro 
<aperez at igalia.com> wrote:
> I just completed a build here with Clang 8.0 and it went just fine. I 
> would
> like to know whether you were using libc++ instead of libstdc++ 
> before I try
> to install Clang 7.1.0 to see if I can reproduce the issue. Could you 
> comment
> on that, please? (and thanks!)

If you fix this, remember it would be better to #include <stdio.h> 
rather than #include <cstdio> because that file uses ::snprintf, not 
std::snprintf.




More information about the webkit-gtk mailing list