bug-bash
[Top][All Lists]
Advanced

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

bind.c, lines 1213 and 1497: arg type mismatch


From: Timothy A. McDaniel
Subject: bind.c, lines 1213 and 1497: arg type mismatch
Date: Sat, 21 Jul 2001 20:06:33 -0500 (CDT)

Configuration Information [Automatically generated, do not change]:
Machine: powerpc
OS: aix4.3.3.0
Compiler: xlc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' 
-DCONF_OSTYPE='aix4.3.3.0' -DCONF_MACHTYPE='powerpc-ibm-aix4.3.3.0' 
-DCONF_VENDOR='ibm' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib 
-I/usr/local/include -g
uname output: AIX bdstbt14 3 4 00012A5F4C00
Machine Type: powerpc-ibm-aix4.3.3.0

Bash Version: 2.05
Patch Level: 0
Release Status: release

Description:
    Yet more compiler pickiness.  I think these various char pointers
    are required by the standard to have the same layouts.  Still,
    I'll report them.

    xlc -c -DHAVE_CONFIG_H -DSHELL   -I. -I/usr/local/src/bash-2.05
-I../.. -I../../lib  -g bind.c
    "bind.c", line 1213.22: 1506-280 (E) Function argument assignment
    between types "const char*" and "unsigned char*" is not allowed.

The line is
          rl_macro_bind (useq, &funname[1], _rl_keymap);
and it's referring to "useq".

    "bind.c", line 1497.33: 1506-280 (E) Function argument assignment
    between types "char*" and "unsigned char*" is not allowed.

It's
      rl_translate_keyseq (v + beg, _rl_isearch_terminators, &end);
and it's complaining about _rl_isearch_terminators.

Repeat-By:
    Compile.



reply via email to

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