The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: mrburkett on June 24, 2005, 04:40:25 PM

Title: Windows.inc
Post by: mrburkett on June 24, 2005, 04:40:25 PM
I am using masm 7.1 assembler.  During an assembly, I am getting over 100 errors (stops assembling) all with the error code: A2163.

It starts at line number 7942.  The error reads:  Windows.inc (7942): error A2163: non-benign structure redefinition incorrect initializers.

Wiondows.inc is the first "Include" in my .asm file.

Why is this doing this? :'(

Thanks,
Jim
Title: Re: Windows.inc
Post by: roticv on June 24, 2005, 04:44:44 PM
Can you post how your source roughly look like? You must have done smoething wrongly.
Title: Re: Windows.inc
Post by: mrburkett on June 24, 2005, 04:56:38 PM
Yes, my main file has only one include: Asteroid.inc, which is attached.  I do this because this file is going to be very big.  I suppose this is not normal, is it?
Jim


[attachment deleted by admin]
Title: Re: Windows.inc
Post by: AeroASM on June 24, 2005, 04:59:32 PM
You need to have:

option casemap:none


before most includes, including (excuse the pun) windows.inc.
Title: Re: Windows.inc
Post by: brixton on June 24, 2005, 05:09:42 PM
Quote from: AeroASM on June 24, 2005, 04:59:32 PMincluding (excuse the pun)

You are on a roll recently  :bg
Title: Re: Windows.inc
Post by: mrburkett on June 24, 2005, 05:20:40 PM
option casemap:none is at the beginning of the .asm file.  Here is the .asm file with the .inc file.
Jim


[attachment deleted by admin]
Title: Re: Windows.inc
Post by: Mark Jones on June 24, 2005, 05:25:13 PM
Asteroid.inc is including asteroid.inc... :bdg
Title: Re: Windows.inc
Post by: AeroASM on June 24, 2005, 05:27:28 PM
roflmao!
Title: Re: Windows.inc
Post by: mrburkett on June 24, 2005, 05:45:45 PM
Wow, good point!  Now, I can clear up my other errors.

Thanks for responding so quickly!

Jim