[cfe-dev] Clang extern "C" parse error
Vladimir
VladimirPlyashkun at yandex.ru
Sun Sep 29 22:31:11 PDT 2013
Hello everyone. I'm using CompilerInstance and CompilerInvokation.
I'm trying to parse a simple file:
//-------------
extern "C" {
}
//-----------
And i got a error: expected identifier or '('. What i'm doing wrong? Why
clang can't parse blocks 'extern "C"' and 'extern "C++"'?
P.S. I have set a langOpts.CPlusPlus to 1;
--
View this message in context: http://clang-developers.42468.n3.nabble.com/Clang-extern-C-parse-error-tp4034743.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list