| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:from:date | |
| :message-id:subject:to:content-type; q=dns; s=default; b=MgyQUle | |
| 2x1mnyBGEX9zLmW0ets7QqZNk4hy8Z7PJisSXYP4r2f5kqDQ88ayFGLzO2hMqp47 | |
| eMNz6LcZ0eN4KaNgxvxe9FjEEyk22bCeW8ivAJMSDRaOEf9N7/ZmE0X6hsYRdGTt | |
| XdpJPhTqe6TGVX1FEO+8zVkgPO2safmheHQo= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:from:date | |
| :message-id:subject:to:content-type; s=default; bh=XWFZbGk6idTM1 | |
| xirg7tgh8ZUCSo=; b=ImfaKThb++352SGz6inxTbdXjn7Y+UEVvSiNfco3paHKc | |
| SPlCdKrfgv97GKm0kOT962lWhSPkDSiYf+cPrQM3w8hGNYlfTa0hfX3wAriDe1yu | |
| BZMa8ud0WhF4C7N/lWLlkI297bu+ePlFvZCSnTY1lkb4DjTEi2YWANLvhUreHc= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-0.9 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=grew, retained, alarm, yaakov |
| X-HELO: | mail-it0-f49.google.com |
| X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=z38c8jgbxqvPgQMPVvScvUnoB67fI3EJT1OenFb7f+8=; b=M6wacKuSwL635pQ2VXiEIvz3Pdl+Ef7WrWo0aXGnrfya1fOrm7BYXSqsVMikquLDTk 7Tt9o4YaQgGpUY5Ss18fPfTEtBI3/uW41Ved6ETYfiGcADrA4XXg8MjZWRo+PLs7Zb7h KvGS3dnjTdWhoEv1lK4fJ0fr3iIOUD8Sf2wW7QmFvyj2Ej/gaRRG/LlTe8DGgZMfaUwc A/B+Yhf14kKB8oPlOkWuxj3ZrMSith8BTORnZnyCLLQKdyvaggBtou7PQQLnqEpmcfIw kX7Xkc8ZktP/dZmsouDETf2gWjvwtPLjHkm9jhMaVMok6/tvalsN1WhqiyXfppUzL9Hx TDVg== |
| X-Gm-Message-State: | AE9vXwMCJteKy3bWvOflJin6oCMkqc9FzLw9jcuS0ZDEXj0FPAmL7WT5EozPOhAnVLGYvPKS6Op74bEW6n46YQ== |
| X-Received: | by 10.36.123.212 with SMTP id q203mr3667622itc.13.1472807541853; Fri, 02 Sep 2016 02:12:21 -0700 (PDT) |
| MIME-Version: | 1.0 |
| In-Reply-To: | <9cd05ef5-a204-7c38-2304-9cb3af364e40@cygwin.com> |
| References: | <9cd05ef5-a204-7c38-2304-9cb3af364e40 AT cygwin DOT com> |
| From: | Jan Nijtmans <jan DOT nijtmans AT gmail DOT com> |
| Date: | Fri, 2 Sep 2016 11:12:21 +0200 |
| Message-ID: | <CAO1jNwv1f5VJzqFuNaT3GR73as-XuyqDWx_yA3679LgUA9a2bA@mail.gmail.com> |
| Subject: | Re: sqlite3: deprecated declarations |
| To: | cygwin AT cygwin DOT com |
| X-IsSubscribed: | yes |
2016-09-02 8:23 GMT+02:00 Yaakov Selkowitz:
> Jan,
>
> Please enable deprecated declarations in sqlite3.h. While it's nice in
> theory to say that they are deprecated and shouldn't be used, the reality is
> that real-world code still uses them and therefore fails to build as-is
> without them.
Thanks! I'll do that in the next build. Still, I'm interested to know
which real-word code still uses it, so a bug-report can be sent
to them. All of those 6 functions where deprecated for a reason!
SQLITE_DEPRECATED int sqlite3_aggregate_count(sqlite3_context*);
** This function is deprecated. Do not use it for new code. It is
** provide only to avoid breaking legacy code. New aggregate function
** implementations should keep their own counts within their aggregate
** context.
SQLITE_DEPRECATED int sqlite3_expired(sqlite3_stmt*);
** Return TRUE (non-zero) of the statement supplied as an argument needs
** to be recompiled. A statement needs to be recompiled whenever the
** execution environment changes in a way that would alter the program
** that sqlite3_prepare() generates. For example, if new functions or
** collating sequences are registered or if an authorizer function is
** added or changed.
SQLITE_DEPRECATED int sqlite3_transfer_bindings(sqlite3_stmt*, sqlite3_stmt*);
** Deprecated external interface. Internal/core SQLite code
** should call sqlite3TransferBindings.
**
** It is misuse to call this routine with statements from different
** database connections. But as this is a deprecated interface, we
** will not bother to check for that condition.
**
** If the two statements contain a different number of bindings, then
** an SQLITE_ERROR is returned. Nothing else can go wrong, so otherwise
** SQLITE_OK is returned.
SQLITE_DEPRECATED int sqlite3_global_recover(void);
** This function is now an anachronism. It used to be used to recover from a
** malloc() failure, but SQLite now does this automatically.
SQLITE_DEPRECATED void sqlite3_thread_cleanup(void);
** This is a convenience routine that makes sure that all thread-specific
** data for this thread has been deallocated.
**
** SQLite no longer uses thread-specific data so this routine is now a
** no-op. It is retained for historical compatibility.
SQLITE_DEPRECATED int sqlite3_memory_alarm(void(*)(void*,sqlite3_int64,int),
void*,sqlite3_int64);
** Deprecated external interface. It used to set an alarm callback
** that was invoked when memory usage grew too large. Now it is a
** no-op.
Regards,
Jan Nijtmans
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |