[PATCH] gmp-h.in: allow build with llvm/clang 2.6: be more C99 friendly
Yann Droneaud
yann at droneaud.fr
Fri Dec 4 14:19:01 CET 2009
Le jeudi 03 décembre 2009 à 18:22 +0100, Yann Droneaud a écrit :
> Having an inline definition plus a prototype make clang exporting
> the function in each object built.
Some others explanations here:
http://clang.llvm.org/docs/UsersManual.html#c_unsupp_gcc
"clang does not support duplicate definitions of a function where one
is inline. This complicates clients of the AST which normally can
expect there is at most one definition for each function. Source code
using this feature should be changed to define the inline and
out-of-line definitions in separate translation units."
Regards
--
Yann Droneaud
More information about the gmp-devel
mailing list