Prefix error_code with std.
The Clang C API does not require C++. Thanks to Jordan Rose for pointing out this error!