[mercury-users] Mmake warnings with mercury 0.13.0-beta-2006-06-29
Nicolas Pelletier
nicolas.pelletier3 at free.fr
Mon Jul 3 22:44:44 AEST 2006
Hello,
when using the following Mmakefile and compiling the simple module
below, I get these warnings:
nicolas at reglisse:~/dev/toto$ mmake toto.depend
mmc --generate-dependencies --grade asm_fast.gc --use-subdirs --verbose-error-messages toto
nicolas at reglisse:~/dev/toto$ mmake toto
/tmp/mmake.2rXmdu:1248: warning: undefined variable `MMAKE_USE_SUBDIRS_EXPLICIT'
/tmp/mmake.2rXmdu:1272: warning: undefined variable `MMAKE_USE_SUBDIRS_EXPLICIT'
mmc --compile-to-c --grade asm_fast.gc --use-subdirs --verbose-error-messages --use-subdirs toto > toto.err 2>&1
mgnuc --grade asm_fast.gc -- -I. -IMercury/mihs/. -c Mercury/cs/toto.c -o Mercury/os/toto.o
mgnuc --grade asm_fast.gc -- -I. -IMercury/mihs/. -c Mercury/cs/toto_init.c -o Mercury/os/toto_init.o
ml --grade asm_fast.gc -- -o toto Mercury/os/toto_init.o \
Mercury/os/toto.o \
Mmakefile:
MCFLAGS = --use-subdirs --verbose-error-messages
toto.m:
:- module toto.
:- interface.
:- import_module io.
:- pred main((io :: di), (io :: uo)) is det.
:- implementation.
main --> print("Toto"), nl.
:- end_module toto.
This MMAKE_USE_SUBDIRS_EXPLICIT variable appears to be used inside the
installed Mmake.rules, but not defined anywhere else. Should it be
defined in the environment ?
--
Nicolas
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list