This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: implicit declaration of static attribute for functions????
- To: 'Jerry Miller' <gmiller at cs dot sunysb dot edu>, gcc-help at gcc dot gnu dot org
- Subject: RE: implicit declaration of static attribute for functions????
- From: David Korn <dkorn at pixelpower dot com>
- Date: Thu, 29 Mar 2001 14:09:30 +0100
>-----Original Message-----
>From: Jerry Miller [mailto:gmiller@cs.sunysb.edu]
>Sent: 28 March 2001 19:51
> [SNIP!] I removed
>the static attribute from both the prototype
>declaration and the function itself.
>
>I recompiled and relinked, but I got a message
>from the linker that the reference was unresolved.
>Noting that the function in question was at the
>very end of the module, following several static
>functions, on a hunch, I cut and pasted to the
>very beginning of the module, which solved the
>problem!
Unless you can reproduce this, I'd assume that something went
wrong with your dependencies and it didn't get rebuilt properly the
first time.
DaveK
--
All your base are belong to us!
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************