Skip to content

Missing "tool_convert.h" prototypes #1460

@gvanem

Description

@gvanem

When compiling ./src/curl.exe, I get these warnings on missing prototypes:

tool_cb_dbg.c(260): warning C4013: 'convert_char' undefined; assuming extern returning int
tool_formparse.c(335): warning C4013: 'convert_to_network' undefined; assuming extern returning int
tool_getparam.c(1324): warning C4013: 'convert_to_network' undefined; assuming extern returning int

Using MSVC-2015, 32-bit and -DHAVE_ICONV -DCURL_DOES_CONVERSIONS.
The fix should simply be to add a:

#include "tool_convert.h"

in those 3 files AFAICS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions