Pinned topic Migration Advisor: Usage of an Linux/x86-specific API
OtavioPontes 270004DRNA1 Post
Re: Migration Advisor: Usage of an Linux/x86-specific API2012-09-14T14:42:05ZThis is the accepted answer. This is the accepted answer.Hi,First of all, thanks for the feedback about the SDK.The API checker is looking for function calls with the same name of function calls from some x86 libraries. In your case, there are functions in your code defined with the same name used in the Math Kernel Library. This happened because there are libraries with some commonly used function names.To avoid seeing this errors every time, you can disable the API Checker for an specific library. Go to Window->Preferences and select C/C++->Code Analysis in the left bar. Then select 'Linux/x86-specific API', inside the 'Linux/x86 to PowerLinux application migration' item and click the 'Customize Selected...' button. A customize window will appear with options to disable the API checker for specific APIs. Uncheck the 'Math Kernel Library' api and click ok. Make sure to run the Migration Advisor again after changing any configuration in this dialog. API warnings related to this library should disapear.We are working in changes in the API checker for a future release and we'll look for a better way to avoid this kind of situation.Thanks again for your feedback,Otavio Pontes
rdutra 270006RJ6T4 Posts
Re: Migration Advisor: Usage of an Linux/x86-specific API2014-01-03T16:09:00ZThis is the accepted answer. This is the accepted answer.
This problem were fixed and will be available in the next SDK release. The API checker is now looking for the includes in the source code and will just mark as a potential migration problem if you include some intel library header and call some specific fuction of that library.