Loading ...
Sorry, an error occurred while loading the content.
 

Re: "ocaml_beginners"::[] howto deal with sexplib changes in own code to avoid version locking?

Expand Messages
  • Andreas Romeyke
    Hello, ... The reason was this posting: http://stackoverflow.com/questions/3614894/conditional-compiling-in-ocaml Therefore we encapsulated the code with this
    Message 1 of 2 , Jan 26, 2012
      Hello,

      Am Freitag, den 20.01.2012, 09:58 +0100 schrieb Andreas Romeyke:
      > in our project we are using the debianized version of ocaml-packages
      > including sexplib in version 4.2.16 (Debian Squeeze)
      >
      > But in upcoming versions sexplib, pE. 7.0.4 in Debian Testing, you need
      > to add this line:
      >
      > open Sexplib.Std;;
      >
      > explicitely, see
      > http://article.gmane.org/gmane.comp.lang.caml.general/52962 for details.
      >
      > My question is, how could we handle this problem to use *one*
      > source-package which could be compiled under Debian Squeeze and Testing,
      > too?

      The reason was this posting:
      http://stackoverflow.com/questions/3614894/conditional-compiling-in-ocaml

      Therefore we encapsulated the code with this line:

      IFDEF NEWSEXP THEN open Sexplib.Std;; END

      Hope this help others, too :)

      Bye Andreas
      --
      Andreas Romeyke
      - Abteilung Blindenschrift -
      Deutsche Zentralbücherei für Blinde zu Leipzig (DZB)
      Gustav-Adolf-Straße 7, 04105 Leipzig
      Tel: +49 341 7113-..., Fax: +49 341 7113-125
      Internet: www.dzb.de
      E-Mail: andreas.romeyke@...
      Private: fa.romeyke@... http://andreas-romeyke.de


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.