This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
multiple definitions with inline routines defined in header file
- From: Kuldeep Rahi <kuldeep01 at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 13 Mar 2003 14:43:29 -0800 (PST)
- Subject: multiple definitions with inline routines defined in header file
Hello,
I'm using GCC 3.2 on a Windows NT OS. I have a bunch
of inline routines defined in various header files.
Previously, I was compiling using MSVC with no
problem. Now, I'm getting linker errors stating
multiple definition of inline routines. I believe
that moving these inline routines into the source file
will fix this problem. However, these routines are
dependencies for other libraries.
For example if one changes a particular routine then
all libraries will be re-compiled, whereas if the
inline routines exist in the source file it would not
be the case.
Thank you in advance for any help
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com