Errors Compiling exception

I'm trying to use dijkstra-example and i get /usr/local/include/boost/graph/dijkstra_shortest_paths.hpp:137: exception handling disabled, use -fexceptions to enable I'm not sure what version i have but i have the folder /i386-glibc21-linux if its help? eyal

On Wed, 30 Mar 2005 11:10:35 +0200, Eyal Inbar <eyalin@tadlys.com> wrote:
I'm trying to use dijkstra-example and i get
/usr/local/include/boost/graph/dijkstra_shortest_paths.hpp:137: exception handling disabled, use
-fexceptions to enable
I'm not sure what version i have but i have the folder /i386-glibc21-linux if its help?
eyal
That's a g++ error message saying that "exception handling [is] disabled" and you need to add the command line switch "'-fexceptions' to enable [it]" in the call to g++
participants (2)
-
Eyal Inbar
-
me22