This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
where do inlined functions go?
- From: Anthony Shipman <als at iinet dot net dot au>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 5 Dec 2005 00:11:04 +1100
- Subject: 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.