[mercury-users] 3 new questions

Dieter Büttner judisun at t-online.de
Sat Feb 21 01:52:15 AEDT 2004


Hello,

maybe the more experienced mercury user can help:
I am using mercury 0.11.1_beta_2004_02_12-1, installed via rpm on SuSE 
professional 9.0.

1. Is it true, that with Mercury I don't need to pay attention for programming 
tail-recursive, because the compiler will rearrange the code and make it 
tail-recursive?  

2. Sometimes , when compiling via mmake  --use-subdirs I get a lot of warnings
"dereferencing type-punned pointer will break strict-aliasing rules"
What does it mean? What was wrong with the code?

3. To debug, I put the following statement in a file Mmakefile: 
GRADEFLAGS=--debug, then mmake --use-subdirs prog.depend,
then mmake --use-subdirs prog. But the last step provides the message 
"cannot find -ltermcap". But termcap is installed!

Would be great, if someone can help.

Thank you
Dieter

--------------------------------------------------------------------------
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