Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Bug parsing "Instantiated from here" lines in the build log
(1/1)
oBFusCATed:
Here is the problematic line:
--- Code: ---/home/obfuscated/projects/codeblocks/dev/debugger2/src/plugins/debuggergdb/debuggergdb_test_backtrace.cpp:255:5: instantiated from here
--- End code ---
The problem is that the line is parsed as 5 instead of 255.
Where and how should this be fixed?
MortenMacFly:
--- Quote from: oBFusCATed on May 14, 2011, 01:01:04 pm ---Where and how should this be fixed?
--- End quote ---
For testing, "online" in the advanced compiler options (no compilation needed), then adjust the regex in the related compiler's cpp file.
oBFusCATed:
Should I add new regex or modify an existing one?
Seems adding new one is the only way (my regex-fu is limited).
MortenMacFly:
--- Quote from: oBFusCATed on May 14, 2011, 01:52:24 pm ---Should I add new regex or modify an existing one?
Seems adding new one is the only way (my regex-fu is limited).
--- End quote ---
Nope, adding a new one would not work, as one error would be handled twice, one time correct and one time incorrect.
You have to modify the one in question and let it support both variants.
oBFusCATed:
--- Quote from: MortenMacFly on May 14, 2011, 01:58:38 pm ---Nope, adding a new one would not work, as one error would be handled twice, one time correct and one time incorrect.
--- End quote ---
Hm, I think I can add new version which will match correctly only the 255:5: version.
--- Quote from: MortenMacFly on May 14, 2011, 01:58:38 pm ---You have to modify the one in question and let it support both variants.
--- End quote ---
I can't do this, I've tried but failed. Any help here will highly be appreciated.
Navigation
[0] Message Index
Go to full version