-W option

Paul Hudak paul.hudak at yale.edu
Wed Sep 17 17:03:07 EDT 2003


This isn't really a bug report, but I wasn't sure where else to ask the 
following question.  Hugs used to handle all of my SOE code with no 
problem.  Now, however, I get the error message:

   ERROR "C:\Program Files\Hugs98\lib\exts\MarshalUtils.hs":2 -
   Syntax error in module definition (unexpected keyword "with
   "; possible cause: -W option not used.)

Indeed, when I invoke Hugs -W from a command line, everything works 
fine.  So the problem is apparently because Hugs used to allow this 
language extension as a default, and now doesn't.  I would hate to tell 
everyone using SOE that they have to invoke Hugs from a command prompt, 
so I'm looking for an alternative suggestion if you have any.  Of 
course, I could rewrite the code, but it's actually Alastair's code, and 
I'm not sure how big of an effort it is...

Thanks,  -Paul




More information about the Hugs-Bugs mailing list