forked from qt-creator/qt-creator
C++: Add __try, __except, and __finally to configuration
This is not really a direct mapping to the Microsoft specifc ones, but I guess defining such macros is an acceptable solution. Change-Id: I17a9414364ef664f2e8afa7ececc6a87f663049e Reviewed-on: http://codereview.qt.nokia.com/4277 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
This commit is contained in:
committed by
Leandro T. C. Melo
parent
b144de97ea
commit
5d93161248
@@ -165,7 +165,10 @@ static const char pp_configuration[] =
|
||||
"#define __RPC_FAR\n"
|
||||
"#define APIENTRY\n"
|
||||
"#define __declspec(a)\n"
|
||||
"#define STDMETHOD(method) virtual HRESULT STDMETHODCALLTYPE method\n";
|
||||
"#define STDMETHOD(method) virtual HRESULT STDMETHODCALLTYPE method\n"
|
||||
"#define __try try\n"
|
||||
"#define __except catch\n"
|
||||
"#define __finally\n";
|
||||
|
||||
#ifndef ICHECK_BUILD
|
||||
CppPreprocessor::CppPreprocessor(QPointer<CppModelManager> modelManager)
|
||||
|
Reference in New Issue
Block a user