Re: Debugging

Igor Korot <[email protected]> Mon, 15 Oct 2018 12:37:50 -0500
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CA+FnnTydLpBucgRAk38cQQe1ffrP+dZY8USAhFi+G3H-jnKSWQ@mail.gmail.com>
Hi, Frediano,
On Mon, Oct 15, 2018 at 12:32 PM Frediano Ziglio <[email protected]> wrote:
>
> Il giorno dom 14 ott 2018 alle ore 18:16 Igor Korot
> <[email protected]> ha scritto:
> >
> > Hi, Frediano,
> > The page at https://docs.huihoo.com/freetds/user-guide/config.htm states:
> >
> > [quote]
> > --disable-debug
> >
> > Debug-mode compiles are enabled by default, and will remain so at
> > least until version 1.0. You can speed things up ever so slightly by
> > disabling it.
> > [/quote]
> >
> > Does this mean that starting from the version 1.00 debug builds are
> > disabled by default? Or they are still enabled?
> >
> > Thank you.
>
> Hi,
>   I would say good catch. They are still enabled by default. They
> enabled some assert in the code.

So on Linux if I download the tarball and just do:

../configure && make

the default will be "--enable-debug"?

I'm asking because this is not what I see on my Gentoo box.
It just does configure && make, but the configure line and later
make commands does not include "-g/--enable-debug" options.

Thank you.

> I don't think would change much disabling them.
> The --enable-extra-checks (which actually is ignored if
> --disable-debug is used) is MUCH more
> expensive.
> I think Windows build by default have these debug disabled.
>
> Frediano
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> https://lists.ibiblio.org/mailman/listinfo/freetds