News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

maxStruct level

Started by LiaoMi, July 10, 2016, 01:41:04 AM

Previous topic - Next topic

LiaoMi

Hallo,

what is the maximum level of nested structures? The compiler reports that the structure incorrectly defined, but here everything is right!

Regards

qWord

Types must be declared before their usage.**
You must change the order of declaration. RMc is not defined anywhere.


**only exception: forward declaration with structure pointers, e.g. PS typedef ptr S where S is not declared so far.

MREAL macros - when you need floating point arithmetic while assembling!

qWord

Quote from: LiaoMi on July 10, 2016, 01:41:04 AMThe compiler reports
MASM, JWasm, HJwasm, ... are Assemblers :icon_exclaim:
MREAL macros - when you need floating point arithmetic while assembling!

LiaoMi

Hallo qWord,

RMc can be deleted, this is another series of similar structures which will generate an error. Thank you, the order indeed solves the problem. Apparently I've long did not write anything, but I do not recall that I faced with such difficulty.

Quote from: qWord on July 10, 2016, 01:59:43 AM
Quote from: LiaoMi on July 10, 2016, 01:41:04 AMThe compiler reports
MASM, JWasm, HJwasm, ... are Assemblers :icon_exclaim:

Thank you for the correction  :icon14: