Skip to content

cUrl compilation failure in telnet.c and tftp.c #1688

@ydnath

Description

@ydnath

I did this

When I built the 7.54.0 version with CURL_NO_OLDIES, there is a compilation error for

  1. https://github.com/curl/curl/blob/master/lib/telnet.c#L902
    CURLE_UNKNOWN_TELNET_OPTION is defined at https://github.com/curl/curl/blob/master/include/curl/curl.h#L576 but under #ifndef CURL_NO_OLDIES

  2. https://github.com/curl/curl/blob/master/lib/tftp.c#L1348
    CURLE_BAD_CALLING_ORDER is defined at
    https://github.com/curl/curl/blob/master/include/curl/curl.h#L586 but under #ifndef CURL_NO_OLDIES

I expected the following

Define CURLE_UNKNOWN_TELNET_OPTION and CURLE_BAD_CALLING_ORDER under the new enum set or reuse one of the enums defined. [I did reuse and it fixed the compilation issues]

curl/libcurl version

7.54.0
[curl -V output]

operating system

FreeBSD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions