| vincegata (79) | |||
|
Hello, Looks like that none of exceptions are being caught. e.g. if I run a code below it will not fall into any of catch. I use gcc 4.6.3 on Ubuntu 12.04. CDFLAGS = -g -std=c++0x Thank you.
| |||
|
|
|||
| computerquip (1995) | |
|
Problem with your toolchain, not C++: http://codepad.org/Tatd1iHD http://liveworkspace.org/code/26fJ4j$0 | |
|
Last edited on
|
|
| vincegata (79) | |
| I also get the output "hello kitty" but when I debug the code it does not step into catch block. | |
|
|
|
| kbw (5517) | |||
|
It works as expected for me on: CentOS 5.2/gcc 4.1.2 ArchLinux/gcc 4.7.2 ArchLinux/icc 13.0.1 Code, x.cpp:
Built with make x for gcc, and make CXX=icc x for Intel. (GNUMake doesn't need a make file for this.)
| |||
|
Last edited on
|
|||
| vincegata (79) | |
| Thanks guys, I got it now. | |
|
|
|