bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: problem of compilation with Visual C++ 6.0


From: Bruno Haible
Subject: Re: problem of compilation with Visual C++ 6.0
Date: Fri, 10 Dec 2004 22:19:37 +0100
User-agent: KMail/1.5

Raphaël ZHOU wrote:
> I encountered certain problem of compilation with Visual C++ 6.0.
> Here the log,

> msgmerge.c
> msgmerge.c(413) : warning C4508: 'main' : function should return a value; 
> 'void' return type assumed
> msgmerge.c(677) : error C2660: '_obstack_begin' : function does not take 5 
> parameters

Thanks for the report. As a workaround, you can replace every occurrence of

   #if defined __STDC__ && __STDC__

in lib/obstack.h with

   #if 1

This is already fixed in gnulib, and will be fixed in the next gettext
release.

> The compilation also generated much message of warning.

This is normal. The MSVC compiler gives many warnings where it is not
appropriate to warn.

Bruno





reply via email to

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