User forums > Help
[Ubuntu] "instanciated from here" build message not clickable
Kalith:
Hi,
In the build messages panel, whenever I get "instantiated from here" messages, for example (taken from the build log) :
--- Code: ---In file included from ../Frost/Utils/include/frost_utils_types.h:109:0,
from ../Frost/Utils/include/frost_utils.h:18,
from include/blockchunk.h:4,
from /home/kalith/Programmation/Mycraft/src/blockchunk.cpp:1:
../Frost/Utils/include/frost_utils_ptr.h: In member function ‘Frost::s_ptr<T>::operator Frost::s_ptr<N>() [with N = Frost::Block, T = const Frost::Block]’:
/home/kalith/Programmation/Mycraft/src/blockchunk.cpp:572:75: instantiated from here
../Frost/Utils/include/frost_utils_ptr.h:317:36: error: invalid conversion from ‘const Frost::Block*’ to ‘Frost::Block*’
../Frost/Utils/include/frost_utils_ptr.h:317:36: error: initializing argument 1 of ‘Frost::s_ptr<T>::s_ptr(T*) [with T = Frost::Block]’
--- End code ---
... I can only click on the last two error messages (the actual error), and not on the one just before, the "instantiated from here" one.
The actual error location is of no use to me, as it points to a smart pointer header. I'm interested in the root of the problem (/home/kalith/Programmation/Mycraft/src/blockchunk.cpp:572), but the build messages panel doesn't allow me to reach it.
I have to go there manually and, most of the time, to do so I have to expand the "file" tab because the file path is too long.
Can it be fixed somehow ?
oBFusCATed:
See this topic: http://forums.codeblocks.org/index.php/topic,14690.0.html
Kalith:
If I understand correctly, there are two variants of this message, with and without the character position ?
If so, I know very little of regex, but the following seems to work correctly for both cases :
--- Code: ---([][{}() \t#%$~A-Za-z0-9_:+/\.-]+):([0-9]+):[0-9\:][ \t]+([iI]nstantiated from .*)
--- End code ---
oBFusCATed:
Kalith:
I'll try it later today. The thing is that newer compilers can generate the :x:y message,
the older ones generate only the :x message, so we should support both variants.
Kalith:
Any news ? Is it working ok for you ?
Navigation
[0] Message Index
[#] Next page
Go to full version