Skip to content

Fix perl_term_readline_gnu build error on conda-forge-macos-maximal #29572

@mkoeppe

Description

@mkoeppe

https://github.com/mkoeppe/sage/runs/612692498

x86_64-apple-darwin13.4.0-clang -c  -I/Users/runner/runners/2.169.1/work/sage/sage/.tox/local-conda-forge-macos-maximal/local/include -fno-common -DPERL_DARWIN -no-cpp-precomp -mmacosx-version-min=10.9 -fno-strict-aliasing -pipe -fstack-protector-strong -DPERL_USE_SAFE_PUTENV -O3   -DVERSION=\"1.35\" -DXS_VERSION=\"1.35\" -fPIC --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk "-I/Users/runner/runners/2.169.1/work/sage/sage/.tox/local-conda-forge-macos-maximal/conda/lib/5.26.2/darwin-thread-multi-2level/CORE"  -DHAVE_STRING_H -DTRG_READLINE_VERSION=0x0800 Gnu.c
clang-9: warning: argument unused during compilation: '--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' [-Wunused-command-line-argument]
Gnu.xs:161:8: error: unknown type name 'rl_hook_func_t'
static rl_hook_func_t *rl_pre_input_hook;
       ^
Gnu.xs:164:8: error: unknown type name 'rl_compdisp_func_t'
static rl_compdisp_func_t *rl_completion_display_matches_hook;
       ^

References:

CC: @isuruf @saraedum @dimpase

Component: porting

Author: Matthias Koeppe, Isuru Fernando

Branch/Commit: df48845

Reviewer: Isuru Fernando, Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/29572

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions