This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Code compiles with g++ 3.3 but not g++ 4.4
- From: daviddoria <daviddoria at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 16 Oct 2009 10:58:33 -0700 (PDT)
- Subject: Code compiles with g++ 3.3 but not g++ 4.4
With this code:
http://www.rpi.edu/~doriad/Daniweb/maxflow/
If I run
g++ Example.cpp graph.cpp
with g++ 3.3, everything works fine. However if I run the same command with
g++ 4.4, I get this error:
Example.cpp:(.text+0x38): undefined reference to `Graph<int, int,
int>::Graph(int, int, void (*)(char*))'
Does anyone know how I can get this to work with g++ 4.4?
Thanks!
David
--
View this message in context: http://www.nabble.com/Code-compiles-with-g%2B%2B-3.3-but-not-g%2B%2B-4.4-tp25929745p25929745.html
Sent from the gcc - Help mailing list archive at Nabble.com.