Hello,
Using r6688 CC branch on Windows 7 x64.
Found the following issue, I hope I'm posting this in the correct thread:
Steps:
- Settings->Editor->Code Completion and Symbols browser page->C/C++ parser tab->Add button under Replacement tokens section
- add the following replacement token:
Key: BEGIN_NAMESPACE(CryptoPP)
Value: namespace CryptoPP{
- close CodeBlocks
- reopen CodeBlocks, it should crash with the following exception:
---------------------------
Exception
---------------------------
An exception has been raised!
The application encountered an error at E:\CodeBlocks\branches\codecompletion_refactoring\src\sdk\configmanager.cpp, on line 239.
The error message is:
TinyXML error: Error reading Attributes.
In file: C:\Users\Zadirion\AppData\Roaming\codeblocks\default.conf
At row 902, column: 33.
Code::Blocks Version revision 6688 (gcc 4.4.1, build: Oct 9 2010 11:48:56)
---------------------------
OK
---------------------------
I believe these are the offending lines added in default.conf?
<BEGIN_NAMESPACE(CryptoPP)>
<![CDATA[namespace CryptoPP{]]>
</BEGIN_NAMESPACE(CryptoPP)>
Perhaps they should be properly escaped when added to the xml.
Also, when are the CodeCompletion and Debugger branches scheduled for merge into trunk? CodeCompletion is finaly able to properly parse the CryptoPP library, and the debugger can finaly show me where the exception was thrown, along with a useful call stack. I can't use one branch or the other because both are very useful for an efficient developing session.
Thanks