Author Topic: Jump to error/warning  (Read 4959 times)

hawk

  • Guest
Jump to error/warning
« on: March 08, 2008, 01:08:34 pm »
Hello. Where can I turn on the function, that lets me to jump to a line with error after doubleclicking in build message log. I'm using the MinGW GCC (not recent) compiler with Code::Blocks 8.02? So, another question: how can I plug full support, for example boost.org libraries, I  mean hinting methods and fields for native types?

notarget

  • Guest
Re: Jump to error/warning
« Reply #1 on: January 26, 2009, 07:55:24 pm »
Hello. Where can I turn on the function, that lets me to jump to a line with error after doubleclicking in build message log. I'm using the MinGW GCC (not recent) compiler with Code::Blocks 8.02?

Hi! I've got the same question, compiler and the version of Code::Blocks. I don't know if it's a bug, or it's a lack of feature, but it would be great if the IDE somehow indicated the line where the error is. (Aside from this, I find it to be the best free IDE for C++ I've ever tried.) So, I would appreciate any kind of advice. Thank you in advance.

Edit: It looks like there are source codes where the error indicating works pretty well, while it doesn't in some other files. I still don't know the reason.
« Last Edit: January 26, 2009, 08:16:10 pm by notarget »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Jump to error/warning
« Reply #2 on: January 26, 2009, 08:16:45 pm »
That can happen, if you have special characters (like german umlauts, french accents, scandinavian Ø, most likely also chinese and cyrillic letters) in the filenames (or the path), where the error occurs.

The get not parsed by the regexes.

You can change this behaviour by changeing the regexes C::B use under "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab) -> Advanced options... -> Output parsing".

This cannot easily be done for every possible language (at least not by the C::B developers), and would not make sense for the most users, so only the standard characters are included here.

notarget

  • Guest
Re: Jump to error/warning
« Reply #3 on: January 26, 2009, 08:33:51 pm »
Thanks for the quick and helpful reply.  :) Actually, I hadn't been able to find the tab you mentioned, but now I'm clear on that. (Anyway, I had Hungarian letters in the name of the folder.)