bugunrtf - Bugs: bug #7747, warning: implicit declaration of...

 
 

bug #7747: warning: implicit declaration of function `exit'

Submitter:  None
Submitted:  Mon 16 Feb 2004 09:10:56 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 16 Dec 2014 07:25:23 AM UTC, comment #2: 

Thanks, fixed in current code.

Jean-Francois Dockes <medoc>
Group administrator
Fri 12 Aug 2005 11:56:51 PM UTC, comment #1: 

These messages are showing up because in error.h the CHECK_... functions are defined with exit(1) at their end.  Pulling out the exit statement out of the #define and into the code should clear up the message.

Michael S. Daines <ax2groin>
Group Member
Mon 16 Feb 2004 09:10:56 PM UTC, original submission:  

OS: W2k/www.cygwin.com
/bin/make
GNU Make 3.80
/bin/gcc
gcc (GCC) 3.3.1 (cygming special)


gcc -g -Wall   -c -o convert.o convert.c
gcc -g -Wall   -c -o word.o word.c
gcc -g -Wall   -c -o error.o error.c
error.c: In function `usage':
error.c:61: warning: implicit declaration of function `exit'
gcc -g -Wall   -c -o main.o main.c
main.c: In function `main':
main.c:134: warning: implicit declaration of function `exit'
gcc -g -Wall   -c -o hash.o hash.c
gcc -g -Wall   -c -o parse.o parse.c
gcc -g -Wall   -c -o malloc.o malloc.c
malloc.c: In function `my_free':
malloc.c:86: warning: implicit declaration of function `exit'
gcc -g -Wall   -c -o attr.o attr.c
gcc -g -Wall   -c -o util.o util.c
gcc -g -Wall   -c -o output.o output.c
output.c: In function `op_free':
output.c:83: warning: implicit declaration of function `exit'
gcc -g -Wall   -c -o html.o html.c
gcc -g -Wall   -c -o text.o text.c
gcc -g -Wall   -c -o vt.o vt.c
gcc -g -Wall   -c -o ps.o ps.c
gcc -g -Wall   -c -o latex.o latex.c
gcc -g -Wall   -c -o wpml.o wpml.c
gcc -g -Wall   -c -o entity.o entity.c
gcc convert.o word.o error.o main.o hash.o parse.o malloc.o attr.o util.o output.o html.o text.o vt.o ps.o latex.o wpml.o entity.o -o unrtf
-- Done.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by medoc (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-16 medoc StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code