isc_buffer
Mark Andrews
marka at isc.org
Mon Sep 26 05:58:38 UTC 2016
In message <09fb5723-54d6-4ab7-372c-7aee87c9085a at yahoo.no>, Gisle Vanem writes:
> Mukund Sivaraman wrote:
> > On Fri, Sep 23, 2016 at 01:21:08PM +0200, Gisle Vanem wrote:
> >> I just built Bind9 + tools using MSVC-2015 and get
> >> rubbish in some commands. E.g.:
> >
> > Which version of BIND is this?
>
> The latest from https://source.isc.org/git/bind9.git
Again, which version as "the latest" doesn't answer the question
as there are multiple latests. Bind is under developement /
maintenance in multiple branches.
> > Has it been modified from the stock version?
>
> I doubt it.
>
> > How did you build it using MSVC-2015?
>
> The "official" way described in:
> win32utils\readme1st.txt.
Give win32utils/readme1st.txt doesn't describe how to build
named, it describes how to install the shipped binaries.
How did you build named? Yes, details do matter.
> Are there other ways for MSVC? But I'm working on
> another way; a set of GNU-makefiles targeting MSVC+MinGW
> (as the latter doesn't seems supported?).
>
> BTW. the number of ISC_x defines are staggering. It
> seems some of them are no longer supported. Like with
> 'ISC_CHECK_ALL', I'm getting assert-failures in some
> win32 .c-files. Anybody who have tried that lately?
Why do you say that? The first blocks could have #undef's added
but that doesn't stop ISC_CHECK_ALL and ISC_CHECK_NONE overridding
any individual checks settings and checks are on for any which
aren't explicitly set.
#if defined(ISC_CHECK_ALL) || defined(__COVERITY__)
#define ISC_CHECK_REQUIRE 1
#define ISC_CHECK_ENSURE 1
#define ISC_CHECK_INSIST 1
#define ISC_CHECK_INVARIANT 1
#endif
#if defined(ISC_CHECK_NONE) && !defined(__COVERITY__)
#define ISC_CHECK_REQUIRE 0
#define ISC_CHECK_ENSURE 0
#define ISC_CHECK_INSIST 0
#define ISC_CHECK_INVARIANT 0
#endif
#ifndef ISC_CHECK_REQUIRE
#define ISC_CHECK_REQUIRE 1
#endif
#ifndef ISC_CHECK_ENSURE
#define ISC_CHECK_ENSURE 1
#endif
#ifndef ISC_CHECK_INSIST
#define ISC_CHECK_INSIST 1
#endif
#ifndef ISC_CHECK_INVARIANT
#define ISC_CHECK_INVARIANT 1
#endif
> --
> --gv
> _______________________________________________
> bind-workers mailing list
> bind-workers at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-workers
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-workers
mailing list