Share

Calypso

Tracker: Bugs

5 Warnings in error.c - ID: 533429
Last Update: Settings changed ( opcid )

I was getting some warnings when compiling error.c,
and since I don't like warnings when I compile things,
I decided to fix the problem. Below is the error I was
getting:

/usr/bin/gcc -rdynamic -Wall -c -o error.o error.c
error.c: In function 'kill_me':
error.c:88: warning: implicit declaration of function
`abort'
error.c:89: warning: implicit declaration of function
`exit'


And below is the patch to error.c to fix this warning:

--- error.c.orig Thu Mar 21 21:57:54 2002
+++ error.c Thu Mar 21 21:59:58 2002
@@ -33,7 +33,6 @@
#include <errno.h>
#include <signal.h>
#include <time.h>
+#include <stdlib.h>
#include "error.h"
#include "io.h"


Jon Akers ( foozini ) - 2002-03-22 03:27

5

Closed

Fixed

Patrik Opacic

Misc.

0.1.9

Public


Comments ( 2 )




Date: 2002-03-22 11:41
Sender: opcidProject Admin

Logged In: YES
user_id=303041

Thank you for the bug-report. This must be a platform specific error as it

does not appear on my system. However, I have added stdlib.h to the file
so
the problem should go away.


Date: 2002-03-22 03:43
Sender: foozini

Logged In: YES
user_id=493234

This is with linux, kernel version 2.4.7-10smp.

gcc version 2.96
egcs version 2.91.66


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
status_id Open 2002-05-31 15:52 opcid
close_date - 2002-05-31 15:52 opcid
artifact_group_id None 2002-05-31 15:52 opcid
resolution_id Accepted 2002-05-30 08:37 opcid
resolution_id None 2002-03-22 11:43 opcid
assigned_to nobody 2002-03-22 11:43 opcid
category_id None 2002-03-22 03:43 foozini