Am Mittwoch, 7. Januar 2004 21:46 schrieb Wolfgang Jeltsch:
[...]
I tried hugs -F "cpp -P -traditional" but got the same error message as without -traditional. This message is, suprisingly, sh: line 1: /usr/lib/hugs/libraries/Hugs/Prelude.hs: Permission denied ERROR "/usr/lib/hugs/libraries/Hugs/Prelude.hs" - Module "case" recursively imports itself
FATAL ERROR: Unable to load Prelude.
I was able to get rid of this error message by removing the space after -F. However, now I get the messages cited below.
I started hugs without the -F option and then tried to set it via :set -F"cpp -P -traditional". After this I loaded my input file via :load and got these messages: cpp0: output pipe has been closed cpp0: output pipe has been closed cpp0: output pipe has been closed cpp0: output pipe has been closed cpp0: output pipe has been closed cpp0: output pipe has been closed cpp0: output pipe has been closed cpp0: output pipe has been closed cpp0: output pipe has been closed ERROR "./RegAlloc/Data/Graphs.hs":42 - Syntax error in input (unexpected selector "#ifdef") So cpp gives strange error messages and #ifdefs still don't work.
[...]
Wolfgang