[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#565894: Missing extern "C" in include files



Package: ocaml-nox
Version: 3.11.1-3
Severity: normal
File: /usr/lib/ocaml/caml/memory.h

Hi,

when using C++ to write bindings one needs to encapsulate the ocaml
includes with

extern "C" {
#include <caml/memory.h>
}

The include files themself should already contain this just like many
other packages do.

MfG
	Goswin

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable-i386
  APT policy: (1001, 'unstable-i386'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29.4-frosties-2 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages ocaml-nox depends on:
ii  binutils              2.19.51.20090805-1 The GNU assembler, linker and bina
ii  gcc                   4:4.3.3-9          The GNU C compiler
ii  libc6                 2.10.1-2           GNU C Library: Shared libraries
ii  libncurses5           5.7+20090803-1     shared libraries for terminal hand
ii  libncurses5-dev       5.7+20090803-1     developer's libraries and docs for
ii  ocaml-base-nox [ocaml 3.11.1-3.a0mrvn.1  Runtime system for OCaml bytecode 
ii  ocaml-interp          3.11.1-3.a0mrvn.1  OCaml interactive interpreter and 

Versions of packages ocaml-nox recommends:
ii  camlp4                 3.11.1-3.a0mrvn.1 Pre Processor Pretty Printer for O
ii  file                   5.03-1            Determines file type using "magic"

Versions of packages ocaml-nox suggests:
ii  libgdbm-dev                   1.8.3-6    GNU dbm database routines (develop
ii  ocaml-doc                     3.11-1     Documentation for Objective Caml
ii  tuareg-mode                   1:1.45.6-2 An emacs-mode for ocaml programs

-- no debconf information



Reply to: