Code compiles with g++ 3.3 but not g++ 4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux