Thread

  1. readline-4.2 problem

    Achim Gottinger <agottinger@t-online.de> — 2001-04-15T10:33:08Z

    Hi dev's,
    
    I updated readline to the brand new 4.2 version (required for
    bash-2.05). Now postgres
    build fails on tab-complete.c. I tested 7.0.3 and the brand new (newer
    that readline-4.2)
    7.1, both with the same result. Is there a patch out there for that
    problem?
    
    achim~
    
    Here is a log of the error.
    
    tab-complete.c: In function `initialize_readline':
    tab-complete.c:103: warning: assignment from incompatible pointer type
    tab-complete.c: In function `psql_completion':
    tab-complete.c:292: warning: implicit declaration of function
    `completion_matches'
    tab-complete.c:292: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:296: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:301: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:309: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:320: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:325: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:332: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:337: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:342: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:347: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:350: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:366: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:371: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:378: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:381: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:392: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:400: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:406: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:410: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:413: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:420: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:423: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:429: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:435: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:440: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:448: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:455: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:460: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:465: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:473: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:478: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:490: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:493: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:496: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:506: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:514: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:521: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:532: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:541: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:545: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:553: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:556: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:559: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:569: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:572: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:578: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:582: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:587: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:592: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:599: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:604: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:606: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:608: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:619: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:622: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:626: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:634: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:640: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:646: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:651: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:660: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:666: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:672: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:678: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:682: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:687: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:690: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:698: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:702: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:704: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:709: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:714: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:716: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:718: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:725: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:734: `filename_completion_function' undeclared (first use
    in this function)
    tab-complete.c:734: (Each undeclared identifier is reported only once
    tab-complete.c:734: for each function it appears in.)
    tab-complete.c:734: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:749: warning: assignment makes pointer from integer
    without a cast
    tab-complete.c:763: warning: assignment makes pointer from integer
    without a cast
    make[3]: *** [tab-complete.o] Error 1
    
    
    
  2. Re: readline-4.2 problem

    Peter Eisentraut <peter_e@gmx.net> — 2001-04-15T16:51:35Z

    Achim Gottinger writes:
    
    > I updated readline to the brand new 4.2 version (required for
    > bash-2.05). Now postgres
    > build fails on tab-complete.c. I tested 7.0.3 and the brand new (newer
    > that readline-4.2)
    > 7.1, both with the same result. Is there a patch out there for that
    > problem?
    
    A patch is available at http://www.postgresql.org/~petere/readline42.html.
    
    -- 
    Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter