[darcs-users] 0.9.15pre --with-wx - build fails

Gour gour at mail.inet.hr
Wed Nov 26 11:54:40 UTC 2003


Hi!

Building latest darcs with --witx-wx switch option fails:

ghc  -cpp  -package unix -package text -O -funbox-strict-fields -DHAVEWX -package wx -package util -c SelectChanges.lhs

SelectChanges.lhs:224:
      Cannot unify the type-signature variable `a' with the type `()'
      Expected type: IO a
      Inferred type: IO ()
  In the application `gui_select jobname islast opts ps job'
  In the definition of `with_any_selected_changes':
    with_any_selected_changes jobname opts s (order@(islast, _)) ps job
          = if All `elem` opts then
               if islast then job (ps, []) else job ([], ps)
            else
               if Gui `elem` opts then
                  gui_select jobname islast opts ps job
               else
                  do
                    pc <- ... $ (...)
                    if ... then ... else ...
										make: *** [SelectChanges.o] Error 1


Sincerely,
Gour

-- 
Gour
gour at mail.inet.hr
Registered Linux User #278493




More information about the darcs-users mailing list