Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Genie-Soft
Beginner
108 Views

ICC Decorating Extern C Functions

My DLL has several C-style exports as follows:

extern "C"
{
	QSS_API void *CreateQSSObject();
	QSS_API void AddRule(void *qss, const qchar *pattern, bool caseSensitive);
	QSS_API void CreateTables(void *qss);
	QSS_API void FindMatches(void *qss, const qchar *haystack, MatchCallback callback, bool breakAsap);
	QSS_API HANDLE GetWaitHandle(void *qss);
	QSS_API void DestroyQSSObject(void *qss);
};

When compiling with ICC 12, these exports are being decorated:

@AddRule@12
@CreateQSSObject@0

and so on and so forth.

This only happened when I enabled IPP & TBB. How can I fix this?

Thanks.
0 Kudos
1 Reply
Genie-Soft
Beginner
108 Views

It was caused by switching to __fastcall
Reply