Author: abidh Date: Tue Oct 27 12:56:23 2015 New Revision: 251426 URL: http://llvm.org/viewvc/llvm-project?rev=251426&view=rev Log: Include <cstdio> to fix build errors.
This file uses things like fprintf and stderr and <cstdio> is the right header to include. I was getting build errors without it. Modified: lldb/trunk/source/Core/CxaDemangle.cpp Modified: lldb/trunk/source/Core/CxaDemangle.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/CxaDemangle.cpp?rev=251426&r1=251425&r2=251426&view=diff ============================================================================== --- lldb/trunk/source/Core/CxaDemangle.cpp (original) +++ lldb/trunk/source/Core/CxaDemangle.cpp Tue Oct 27 12:56:23 2015 @@ -13,6 +13,7 @@ // - Included win32.h for snprintf implementation for MSVC // - Removed constexpr member initialization for MSVC // - Changed argument to alignas() to a literal for MSVC +// - Include <cstdio> for fprintf, stderr like entities. //---------------------------------------------------------------------- #if defined(_MSC_VER) @@ -40,6 +41,7 @@ #include <cstdlib> #include <cstring> #include <cctype> +#include <cstdio> namespace lldb_private { _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits