libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Typo?: MHD_SUPPRESS_DATE_NO_CLOCK and MHD_NO_FLAG


From: silvioprog
Subject: Re: [libmicrohttpd] Typo?: MHD_SUPPRESS_DATE_NO_CLOCK and MHD_NO_FLAG
Date: Tue, 31 Jan 2017 13:27:07 -0300

It seems MHD_USE_ERROR_LOG was removed on release 0.9.52.

cd /tmp
wget -c http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.52.tar.gz
tar -zxvf libmicrohttpd-0.9.52.tar.gz
cd libmicrohttpd-0.9.52/

# find text "MHD_USE_ERROR_LOG" in files recursively
grep -nHIirF --include=*.h -- MHD_USE_ERROR_LOG
# result: empty :-(

# find text "MHD_USE_EPOLL_INTERNALLY" in files recursively
# result:
grep -nHIirF --include=*.h -- MHD_USE_EPOLL_INTERNALLY
src/include/microhttpd.h:634:  MHD_USE_EPOLL_INTERNALLY = MHD_USE_SELECT_INTERNALLY | MHD_USE_EPOLL,
src/include/microhttpd.h:637:#define MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY \
src/include/microhttpd.h:638:  _MHD_DEPR_IN_MACRO("Value MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY is deprecated, use MHD_USE_EPOLL_INTERNALLY") \
src/include/microhttpd.h:639:  MHD_USE_EPOLL_INTERNALLY
src/include/microhttpd.h:2792:   * #MHD_USE_EPOLL_INTERNALLY can be used.

On Tue, Jan 31, 2017 at 8:58 AM, Christian Grothoff <address@hidden> wrote:
On 01/31/2017 05:27 AM, silvioprog wrote:
> On Mon, Jan 30, 2017 at 5:38 PM, Evgeny Grin <address@hidden
> <mailto:address@hidden>> wrote:
>
>     No. Those flags are not removed. Do you have problems with it?
>
>     --
>     Best Wishes,
>     Evgeny Grin
>
>
> Yes, I do. My MHD version: 0.9.52. Problem: "error: ‘MHD_USE_ERROR_LOG’
> undeclared". But it compiles fine with other flags
> like MHD_USE_EPOLL_INTERNALLY, MHD_SUPPRESS_DATE_NO_CLOCK. Strange. :S

Indeed, strange. MHD_USE_ERROR_LOG continues to be defined in the
header, and we have no plans to remove it either.

--
Silvio Clécio

reply via email to

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