Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mms/mmk differences #84

Open
hb-- opened this issue Jan 23, 2015 · 1 comment
Open

mms/mmk differences #84

hb-- opened this issue Jan 23, 2015 · 1 comment
Assignees
Milestone

Comments

@hb--
Copy link

hb-- commented Jan 23, 2015

It seems .error is a MMK feature, which was/is not available in MMS. I stumbled over it in SQLITE3, when trying to build that with MMS:

.IF "$(MMSARCH_NAME)" .EQ "Alpha"
ARCH = AXP
.ELSIF "$(MMSARCH_NAME)" .EQ "IA64"
ARCH = I64
.ELSIF "$(MMSARCH_NAME)" .EQ "VAX"
ARCH = VAX
.ELSE
.ERROR You must define the ARCH macro as one of: VAX, AXP or I64
.ENDIF
(oh, shouldn't the error message say IA64?)

Anyway, it seems reasonable to mention this difference, as well as (OK, I didn't check the docs for this one):

$ mms /desc=tt:
CFLAGS = $(CFLAGS)/NAME=AS_IS
CFLAGS = $(CFLAGS)/WARN=DISABLE=(LONGEXTERN,EMPTYFILE)
%MMS-W-MBREDEFILL, Illegal attempt to redefine macro CFLAGS
all :
write sys$output "$(CFLAGS)"
Exit
write sys$output "/NOLIST/OBJECT=ALL.OBJ/NAME=AS_IS"
/NOLIST/OBJECT=ALL.OBJ/NAME=AS_IS
$

@tesneddon tesneddon self-assigned this Nov 7, 2016
@tesneddon tesneddon added this to the V5.1 Release milestone Nov 7, 2016
@tesneddon
Copy link
Member

Yes, .ERROR is a unique feature of MMK. I have no immediate recollection of the manual. I'll have a look and see if it needs updating. (Just looked, there are no directives documented in the manual).

You are also correct about the error message typo too :-)

As for the difference...well, that is because there is no /EXTENDED_SYNTAX qualifier that has been added to the MMS command. I don't think that is really worth mention though as just about every useful feature of MMS requires this qualifier. Without there are no built-in functions, no redefinition of macros, etc.

@tesneddon tesneddon modified the milestones: V5.1 Release, MMK V5.2 Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants