User forums > Nightly builds
The 21 July 2012 build (8150) is out.
Agetian:
For some reason, code completion won't fire (in C++) if I try to define a variable inside a function that has a "throw" specifier in its definition. For instance:
1) This works fine (no throw specifier) - code completion fires OK for "m"
--- Code: ---std::string MyClass::TestCase()
{
std::string m;
m.
}
--- End code ---
2) This doesn't work (throw specifier added) - code completion does not fire for "m"
--- Code: ---std::string MyClass::TestCase() throw(std::exception)
{
std::string m;
m.
}
--- End code ---
Code::Blocks SVN 8150
Windows Vista 32bit
GNU GCC v4.7.1 (Mingw)
ollydbg:
--- Quote from: Agetian on August 25, 2012, 06:41:33 am ---For some reason, code completion won't fire (in C++) if I try to define a variable inside a function that has a "throw" specifier in its definition. For instance:
1) This works fine (no throw specifier) - code completion fires OK for "m"
--- Code: ---std::string MyClass::TestCase()
{
std::string m;
m.
}
--- End code ---
2) This doesn't work (throw specifier added) - code completion does not fire for "m"
--- Code: ---std::string MyClass::TestCase() throw(std::exception)
{
std::string m;
m.
}
--- End code ---
Code::Blocks SVN 8150
Windows Vista 32bit
GNU GCC v4.7.1 (Mingw)
--- End quote ---
This should be a bug, can you report the the official site: http://developer.berlios.de/bugs/?group_id=5358 , so this does not get lost in the forum.
I think the CC's parser does not handle the "throw(std::exception)" correctly, so it does not recognize those code as a function body.
Thanks.
Agetian:
--- Quote from: ollydbg on August 25, 2012, 05:35:24 pm ---
This should be a bug, can you report the the official site: http://developer.berlios.de/bugs/?group_id=5358 , so this does not get lost in the forum.
I think the CC's parser does not handle the "throw(std::exception)" correctly, so it does not recognize those code as a function body.
Thanks.
--- End quote ---
Done and done. :) Thanks!
p2rkw:
By the way: parser also doesn't recognize: const, volatile, final and override.
nenin:
Dear ollydbg and xunxun, looks like I found source of the problems with gdb. Subjected PC has installed software with hardcore copyright protection (kind of system driver). And looks like any debugging acts which may touch external calls (function from dlls) leads to troubles for gdb. I had similar issue few year ago, but in previous case gdb can not work at all.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version