bug-gnulib
[Top][All Lists]
Advanced

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

Re: mbsinit problem with inlined original


From: Bruno Haible
Subject: Re: mbsinit problem with inlined original
Date: Sun, 2 May 2010 21:27:25 +0200
User-agent: KMail/1.9.9

Hi,

Michael Goffioul wrote:
> When trying to compile gnulib (from octave), it fails at compiling
> mbsinit.c. It seems this is due to the fact that on my system (MSVC)
> mbsinit is declared inlined in wchar.h. The configure script fails to
> detect the system mbsinit, because of link error, and the compiler
> fails to compile the replacement, because of duplicate body for the
> same function (the inlined one in wchar.h and the replacement one).
> 
> Can this problem be solved at gnulib level?

You are free to submit a patch to this list, if you also explain
the compilation errors ("because of link error" is too vague - show
the error) and verify that with your patch, the error goes away.

I don't want to spend time on adapting gnulib for this platform,
as long as there are only few people attempting this and every one
uses a different environment (msvc version, cccl script, libtool
hack etc.) I just found 8 new test failures on Cygwin 1.5 and another
one on mingw. This has priority for me, because these platforms
are used by many people.

Most modules of gnulib are ported and well tested on mingw.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]