- Name: ocaml-optcomp
- Version: 1.2
- Release: 1mdv2010.0
- Epoch:
- Group: Development/Other
- License: BSD3
- Url: https://forge.ocamlcore.org/projects/optcomp/
- Summary: Optional compilation with cpp-like directives for OCaml
- Architecture: i586
- Size: 2198529
- Distribution: Mandriva Linux
- Vendor: Mandriva
- Packager: Florent Monnier <blue_prawn@mandriva.org>
Description:
Optcomp is a camlp4 syntax extension which handles #if, #else, etc
directives in ocaml source files.
The difference between cpp and optcomp is that optcomp is more
caml-friendly than cpp:
* it does not interpret "//", "/*", and "*/" as comment delimiters
* it does not complains about missing "'"
* it is easier to integrate in the build process when using other
camlp4 syntax extensions
By the way optcomp does not do macro expansion while cpp does.
The difference between pa_macro and optcomp is that optcomp does not
require code that will be dropped to be valid caml code. So for
example some code that will be rejected by camlp4+pa_macro will be
accepted by camlp4+optcomp.
You can use optcomp with ocamlfind, with the package optcomp or you
can directly include it in your project.
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables
- Cookie: n2.mandriva.com 1252644504
- Buildhost: n2.mandriva.com
Sources packages:
Other version of this rpm: