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

 
 

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

Submitted by:  None
Submitted on:  Mon 16 Feb 2004 09:10:56 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: OpenRelease: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup