[m-dev.] Is -E broken?

Ralph Becket rbeck at microsoft.com
Fri Mar 2 03:42:34 AEDT 2001


[I'm using the 0.10.1 rotd from last night, but this problem has been
bugging me for several rotds now.  If it matters, I always use a Mercury
directory to build in.]

Often, when I do `mmake MCFLAGS=-E' I get chaff like

mercury_compile: can't open file `csp.int'.
mercury_compile: can't open file `node.int'.
mercury_compile: can't open file `dfs.int'.
mercury_compile: can't open file `fc.int'.
mercury_compile: can't open file `rnd.int'.
mercury_compile: can't open file `cbj.int'.
mercury_compile: can't open file `log.int'.
mercury_compile: can't open file `tgif.int'.
test_nq.m:033: In definition of type `test_nq:csp'/0:
test_nq.m:033:   error: undefined typeclass `csp'/1.
test_nq.m:066: In definition of function `test_nq:var_domains'/1:
test_nq.m:066:   error: undefined type `var_domains'/0.
test_nq.m:072: In definition of predicate `test_nq:run_tests'/7:
test_nq.m:072:   error: undefined type `var_domains'/0.

which I know not to be the problem and I don't get any helpful error
messages.  In fact, I don't even get the original error message that
prompted me to use -E in the first place.  Just lots of stuff like
the above.

Is this me doing the wrong thing or a bug in the compiler?

Cheers,

Ralph
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list