bug-binutils
[Top][All Lists]
Advanced

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

binutils-2.15.90.0.3 bug-report


From: w . szukalski
Subject: binutils-2.15.90.0.3 bug-report
Date: Sun, 24 Oct 2004 05:36:04 GMT

I use
   gcc (GCC) 3.3.4
together with
   GNU ar 2.15.90.0.3 20040415
   GNU ld version 2.15.90.0.3 20040415
and
   Linux 2.6.8.1

For a program a local library shall be created using:
   ar rv $(LIBTARGET) $(OBJS)

I had written a file 'css-format.c' that contained a function
call of 'close_css_box()' which had not yet been defined.
But 'ar' created a library, although the function definition
is missing:

css-format.c:1994: warning: implicit declaration of function  
    `close_css_box'
ar: creating libhtmlw.a

And the resulting program, using this local library, was created.

Where is the bug? In GCC or in BINUTILS? I suppose, 'ar' or 'ld'
should have realized the missing definition.

I have attached the corresponding 'Makefile'.

winfried

Attachment: Makefile.gz
Description: GNU Zip compressed data


reply via email to

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