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]

where do inlined functions go?


I've got a class with some methods defined in the class. The compiler does not 
generate object code for these methods. Then in a program that uses the class 
it fails to inline the methods and the linker fails with undefined functions. 
All files are compiled with the same command line options:

g++ 4.0.2 
c++ -Wall -Wextra -g3 -O  

Is there some magic I am missing?

-- 
Anthony Shipman                    Mamas don't let your babies 
als@iinet.net.au                   grow up to be outsourced.


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