Version française
Home     About     Download     Resources     Contact us    
Browse thread
Problems linking in an object file produced with "ocamlopt -c -output-obj"
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Marcin 'Qrczak' Kowalczyk <qrczak@k...>
Subject: Re: [Caml-list] Re: Problems linking in an object file produced with "ocamlopt -c -output-obj"
skaller <skaller@users.sourceforge.net> writes:

> See ISO C99, 6.9.2./1
>
> Variables with external linkage must be defined exactly
> once (if they're used) or at most once (if they're not).
>
> The above fragments do not constitute an external definition,

They do. See 6.9.2/2.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak@knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/