When I include "stdio.inc" or "stdlib.inc", I get numerous errors and assembly fails.
Assembles fine without it, as long as I don't need anything in them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
JWasm v2.06e, Jul 22 2011, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
stdlib.inc(4) : Error A2102: Symbol not defined : _MSC_VER
stdlib.inc(4): Included by
BXB.inc(11): Included by
Test2.asm(17): Main line code
stdlib.inc(9) : Error A2102: Symbol not defined : defined
stdlib.inc(9): Included by
BXB.inc(11): Included by
Test2.asm(17): Main line code
stdlib.inc(26) : Error A2102: Symbol not defined : defined
stdlib.inc(26): Included by
BXB.inc(11): Included by
Test2.asm(17): Main line code
stdlib.inc(30) : Error A2102: Symbol not defined : _MSC_VER
stdlib.inc(30): Included by
BXB.inc(11): Included by
Test2.asm(17): Main line code
stdlib.inc(56) : Error A2102: Symbol not defined : __STDC__
stdlib.inc(56): Included by
BXB.inc(11): Included by
Test2.asm(17): Main line code
...(snip)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This line:
produces this error:
Here is a list of Includes and IncludeLibs I'm using:
Normally required headers: stdlib.h, malloc.h
What headers or Include files should I use ?
WinInc contains a file "stdlib.inc". It might do what you want. If no, then you'll have to create the include file on your own.
>WinInc contains a file "stdlib.inc".
When I include "stdio.inc" or "stdlib.inc", I get numerous errors and assembly fails.
Assembles fine without it, as long as I don't need anything in them.
Adding this line:
produces 52 errors:
I figured something out.
Include ..\..\windows.inc must come first.
If stdio.inc or stdlib.inc precede windows.inc, it generates errors.