[issue5134] Compiler warnings in sqlite module

Martin v. Löwis report at bugs.python.org
Tue Feb 3 19:53:33 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

> The syntax would be this:
> 
> #if defined(_MSC_VER)
> #  pragma warning(push)
>    /* Disable warnings for this file, see
>    http://www.sqlite.org/faq.html#q17 why we don't care for them. */
> #  pragma warning(disable: 4244)
> #  pragma warning(disable: 4018)
> #endif

I'd rather disable them in the project, instead of putting it into the
source code. I'd also just disable *all* warnings, since we wouldn't
fix any of them.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5134>
_______________________________________


More information about the Python-bugs-list mailing list