BUG: H2INC Versions 1.0 and 1.1 Do Not Support _syscall

Last reviewed: October 21, 1994
Article ID: Q104677
The information in this article applies to:
  • Microsoft H2INC Utility for MS-DOS, versions 1.0, 1.1, and 1.11
  • Microsoft H2INC Utility for OS/2, version 1.0

SYMPTOMS

The Microsoft C to MASM include file translator (H2INC) does not support function prototypes using _syscall. When the sample below is translated, H2INC produces:

   warning HI4820: ignoring function definition : _syscall()
   error HI2061: syntax error : identifier 'func1'

STATUS

Microsoft has confirmed this to be a problem in H2INC versions 1.0, 1.1, and 1.11. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Page 448 of the "Microsoft Macro Assembler Programmer's Guide" manual for MASM 6.0 and page 649 of the "Environment and Tools" manual for MASM 6.1 state that _syscall is accepted; however, H2INC generates errors when it encounters prototypes containing these keywords.

Sample Code

/* Command line options needed: none
*/
int _syscall func1 (int x);


Additional reference words: 6.00 6.00a 6.00b 6.10 1.00 1.10 buglist1.00
buglist1.10 buglist1.11
KBCategory: kbtool kbbuglist
KBSubCategory: TlsMisc


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 21, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.