Notes |
|
(0000375)
|
wangp
|
2011-11-03 11:04
|
|
The underlying problem is bug 0000019.
For now I will work around it for the hlc case. There should be no problem with the Java grades; at least I couldn't reproduce it with 2011-10-23. |
|
|
|
I only see the bug in the Java grade when I compile with --parallel also:
$ mmc --java --parallel --rebuild sema_hlc.class
Making Mercury/javas/jmercury/sema_hlc.java
sema_hlc.m:001: Warning: interface for module `sema_hlc' does not export
sema_hlc.m:001: anything.
Making Mercury/classs/jmercury/sema_hlc.class
Mercury/javas/jmercury/sema_hlc.java:83: cannot find symbol
symbol : variable thread__semaphore
location: class jmercury.sema_hlc
V_1_1 = thread__semaphore.init_1_f_0(V_2_2);
^
1 error
** Error making `Mercury/classs/jmercury/sema_hlc.class'. |
|
|
(0000378)
|
wangp
|
2011-11-03 11:26
|
|
Ok, that'd because there is no 'java.par' grade. You *could* install it, but it would be exactly the same as the 'java' grade. |
|
|
|
Ahh gotcha. I never realized that... |
|
|
|
I suspect attempting to install and/or use the grade "java.par" may have some "interesting" effects on
the compiler and other tools since they probably don't recognise it as a valid combination of grade
components. |
|