octave-maintainers
[Top][All Lists]
Advanced

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

Re: Compiling octave with MSVC


From: Michael Goffioul
Subject: Re: Compiling octave with MSVC
Date: Fri, 13 Oct 2006 07:59:22 +0200
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

John W. Eaton a écrit :
What is the purpose of

  -D_WIN32_WINNT=0x0403

Otherwise, InitializeCriticalSectionAndSpinCount (used in libcruft/misc/cquit.c)
is not defined by MSVC headers. This is documented in MSDN.

and what warnings are disabled by

  +#pragma warning( disable : 4003 )
  +#pragma warning( disable : 4996 )
  +#pragma warning( disable : 4661 )

- missing parameters in macros
- missing implementations in template instantiation (as template code is not always
completely in the header, the compiler complains)
- warning about deprecated function names, which should be now prefixed with an
underscore (tempnam, strdup...)

Michael.



reply via email to

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