This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]