bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH 1/3] Fix implicit declaration of abort()


From: Chet Ramey
Subject: Re: [PATCH 1/3] Fix implicit declaration of abort()
Date: Sun, 6 Jan 2019 17:47:45 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

On 1/4/19 3:25 PM, Eduardo A. Bustamante López wrote:
> gcc version 8.2.0 (Debian 8.2.0-13) x86_64-linux-gnu
> 
> ```
> malloc.c:333:3: warning: incompatible implicit declaration of built-in 
> function ‘abort’
> malloc.c:333:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘abort’

Thanks, but you only get this if you are building it outside of bash,
since bash provides a definition for "botch".

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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