Bugs in gcc or binutils 2.7?
Ian Lance Taylor
ian@cygnus.com
Thu Jul 18 08:53:00 GMT 1996
From: hjl@innovix.com (H.J. Lu)
Date: Thu, 18 Jul 1996 00:25:30 -0700 (PDT)
I got this with binutils 2.7 under i486-linux:
# cat foo.c
#pragma weak foo
foo ()
{
}
# gcc -c foo.c
/tmp/cca21074.s: Assembler messages:
/tmp/cca21074.s:17: Error: foo already declared as global
The assembler has issued this warning for over a year, including the
2.6 release. I recently (July 5) changed the warning into an error.
Do you receive a warning when you use an earlier version of the
binutils?
Ian
More information about the Gas2
mailing list