IBM Support

Syntax error reported when the '__interrupt' function is built

Question & Answer


Question

Logiscope reports syntax errors when ‘__interrupt’ function is built with ‘Microsoft Visual Studio .NET 2003 -VC7’ dialect. But why no errors are reported when ‘__interrupt’ function is built with ‘Microsoft C 1.5’ dialect?

Answer

The dialect ‘msc15’ which correspond to Microsoft C/C++ 1.5 has the word ‘__interrupt’ as a keyword. Hence it is understood by Logiscope as a specificity of the Microsoft C/C++ version and Logiscope does not report of syntax errors.

However, ‘__interrupt’ is not a recognized keyword for other Microsoft C/C++ dilates like GNU C, msc40, msc50, msc60, msc70 etc. Hence when ‘__interrupt’ function is built using these dialects Logiscope reports of syntax errors.

More information on this can be found in ‘ReviewerC.pdf’ under <Logiscope Installation Directory>\help.

Also note that the .def (definition file) and .ign (ignore file) can only be customized for a particular dialect, but the list of keywords varies from one dialect to another and this can not be customized.

[{"Product":{"code":"SSYQHS","label":"Rational Logiscope"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"6.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21396838