caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] #install_printer gives error in 4.0X
@ 2012-07-19 12:53 Hendrik Tews
  2012-07-19 16:10 ` AW: " Gerd Stolpmann
  2012-07-19 16:19 ` Xavier Leroy
  0 siblings, 2 replies; 3+ messages in thread
From: Hendrik Tews @ 2012-07-19 12:53 UTC (permalink / raw)
  To: caml-list

Hi,

#install_printer does not work for me anymore in the trunk
version of OCaml and in the 4.00 branch. When I try

    type t = A;;
    let t_printer ff (t : t) = Format.fprintf ff "XaX";;
    #install_printer t_printer;;

I get 

    Cannot find type Topdirs.printer_type_new.

Is this a bug or am I doing something wrong? If this is a bug,
does anybody know a workaround?

Bye,

Hendrik

^ permalink raw reply	[flat|nested] 3+ messages in thread

* AW: [Caml-list] #install_printer gives error in 4.0X
  2012-07-19 12:53 [Caml-list] #install_printer gives error in 4.0X Hendrik Tews
@ 2012-07-19 16:10 ` Gerd Stolpmann
  2012-07-19 16:19 ` Xavier Leroy
  1 sibling, 0 replies; 3+ messages in thread
From: Gerd Stolpmann @ 2012-07-19 16:10 UTC (permalink / raw)
  To: Hendrik Tews; +Cc: caml-list

Am 19.07.2012 14:53:17 schrieb(en) Hendrik Tews:
> Hi,
> 
> #install_printer does not work for me anymore in the trunk
> version of OCaml and in the 4.00 branch. When I try
> 
>     type t = A;;
>     let t_printer ff (t : t) = Format.fprintf ff "XaX";;
>     #install_printer t_printer;;
> 
> I get
> 
>     Cannot find type Topdirs.printer_type_new.
> 
> Is this a bug or am I doing something wrong? If this is a bug,
> does anybody know a workaround?

#directory "+compiler-libs";;

Looks like a bug.

Gerd

> 
> Bye,
> 
> Hendrik
> 
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
> 
> 



-- 
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany    gerd@gerd-stolpmann.de
Creator of GODI and camlcity.org.
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] #install_printer gives error in 4.0X
  2012-07-19 12:53 [Caml-list] #install_printer gives error in 4.0X Hendrik Tews
  2012-07-19 16:10 ` AW: " Gerd Stolpmann
@ 2012-07-19 16:19 ` Xavier Leroy
  1 sibling, 0 replies; 3+ messages in thread
From: Xavier Leroy @ 2012-07-19 16:19 UTC (permalink / raw)
  To: Hendrik Tews; +Cc: caml-list

On 07/19/2012 02:53 PM, Hendrik Tews wrote:

> #install_printer does not work for me anymore in the trunk
> version of OCaml and in the 4.00 branch. [...]

That's a bug, indeed.  Would you be so kind as to file a bug report on
http://caml.inria.fr/mantis/
This maximizes your chances of getting it fixed in the 4.00.0 release.

- Xavier Leroy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-19 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-19 12:53 [Caml-list] #install_printer gives error in 4.0X Hendrik Tews
2012-07-19 16:10 ` AW: " Gerd Stolpmann
2012-07-19 16:19 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).