Author Topic: Build messages settings and Find/Replace tool  (Read 28688 times)

Offline Joshua Flynn

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Build messages settings and Find/Replace tool
« Reply #15 on: August 31, 2011, 07:12:54 pm »
Probably this: http://wiki.codeblocks.org/index.php?title=Code::Blocks_Plugins
but there is no page for the regex testbed plugin, but it is pretty straight forward, just open the dialog :)

If you don't have you probably don't have the contrib plugins installed.
And as you've not mentioned anything about your computer: os, c::b version, compiler (not important here, but it is good to know!);
we can't tell you how to installed them.

Code:blocks version 10.05, windows vista, gcc (I believe).

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Build messages settings and Find/Replace tool
« Reply #16 on: August 31, 2011, 07:20:57 pm »
Last try, after that I give up:
Please read carefully:
Can you post a snippet of the content of the "Build log" and the "Build messages" with an error messages that does not work ?

Just copy and paste, please do not post a screenshot, if it is not absolutely necessary.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Build messages settings and Find/Replace tool
« Reply #17 on: August 31, 2011, 07:41:40 pm »
Code:blocks version 10.05, windows vista, gcc (I believe).
Reinstall and make sure the checkbox for contrib plugins is checked.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Joshua Flynn

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Build messages settings and Find/Replace tool
« Reply #18 on: August 31, 2011, 08:24:17 pm »
Last try, after that I give up:
Please read carefully:
Can you post a snippet of the content of the "Build log" and the "Build messages" with an error messages that does not work ?

Just copy and paste, please do not post a screenshot, if it is not absolutely necessary.

Build log:
Code
-------------- Build: Release in SelfBuilding ---------------

Compiling: main.cpp
In file included from C:\Users\user\Desktop\Projects\R&D\main.cpp:6:
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:21:25: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:22:24: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:23:26: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:25:23: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:26:22: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:27:24: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:29:30: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:30:29: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:31:31: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:33:30: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:34:29: warning: multi-character character constant
C:\Users\user\Desktop\Projects\R&D\FileProcModular.h:35:31: warning: multi-character character constant
In file included from C:\Users\user\Desktop\Projects\R&D\StrToken.h:9,
                 from C:\Users\user\Desktop\Projects\R&D\HTMLFileProc.h:9,
                 from C:\Users\user\Desktop\Projects\R&D\main.cpp:5:
C:\Users\user\Desktop\Projects\R&D\DataArray.h: In member function 'const bool DataArray::CopyBetweenStrings(const char*, const char*, const char*, bool)':
C:\Users\user\Desktop\Projects\R&D\DataArray.h:190: error: 'StringString' was not declared in this scope
C:\Users\user\Desktop\Projects\R&D\DataArray.h:207: warning: suggest parentheses around assignment used as truth value
C:\Users\user\Desktop\Projects\R&D\DataArray.h:207: error: expected primary-expression before ')' token
C:\Users\user\Desktop\Projects\R&D\DataArray.h:207: error: expected ';' before ')' token
Process terminated with status 1 (0 minutes, 1 seconds)
3 errors, 13 warnings

Build messages:
Code
D\FileProcModular.h|21|warning: multi-character character constant|
D\FileProcModular.h|22|warning: multi-character character constant|
D\FileProcModular.h|23|warning: multi-character character constant|
D\FileProcModular.h|25|warning: multi-character character constant|
D\FileProcModular.h|26|warning: multi-character character constant|
D\FileProcModular.h|27|warning: multi-character character constant|
D\FileProcModular.h|29|warning: multi-character character constant|
D\FileProcModular.h|30|warning: multi-character character constant|
D\FileProcModular.h|31|warning: multi-character character constant|
D\FileProcModular.h|33|warning: multi-character character constant|
D\FileProcModular.h|34|warning: multi-character character constant|
D\FileProcModular.h|35|warning: multi-character character constant|
D\DataArray.h||In member function 'const bool DataArray::CopyBetweenStrings(const char*, const char*, const char*, bool)':|
D\DataArray.h|190|error: 'StringString' was not declared in this scope|
D\DataArray.h|207|warning: suggest parentheses around assignment used as truth value|
D\DataArray.h|207|error: expected primary-expression before ')' token|
D\DataArray.h|207|error: expected ';' before ')' token|
||=== Build finished: 3 errors, 13 warnings ===|

The error messages will vary as I am working on the project. Just that being unable to jump to the specific error lines is time-consuming.

The problem applies to any warnings/errors (if this wasn't clear in the original post).
« Last Edit: August 31, 2011, 08:29:20 pm by Joshua Flynn »

Offline Joshua Flynn

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Build messages settings and Find/Replace tool
« Reply #19 on: August 31, 2011, 08:34:56 pm »
Reinstall and make sure the checkbox for contrib plugins is checked.

Reinstalled it and made sure the RegEx testbed plugin was checked. I'll try it out.

Re-install doesn't fix the goto error line thingy.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Build messages settings and Find/Replace tool
« Reply #20 on: August 31, 2011, 09:36:11 pm »
Reinstall and make sure the checkbox for contrib plugins is checked.

Reinstalled it and made sure the RegEx testbed plugin was checked. I'll try it out.

Re-install doesn't fix the goto error line thingy.
Why should it.

Rename the path, so it contains no special characters (the ampersand in your case) and it will work again.
Alternatively you can add the ampersand to the output parsing regexes for warnings and errors in "Settings -> Compiler and debugger... -> Other settings -> Advanced options... -> Output parsing".

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Build messages settings and Find/Replace tool
« Reply #21 on: August 31, 2011, 09:50:45 pm »
Jens: why don't we add them to head svn, too?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Build messages settings and Find/Replace tool
« Reply #22 on: August 31, 2011, 10:52:07 pm »
Jens: why don't we add them to head svn, too?
Committed !
I also changed A-Za-z0-9 to [:alnum:], so all alphanumeric characters can be parsed, not only ascii-characters.
Works fine on linux and windows 7, tested with german umlauts and french accents.

Offline Joshua Flynn

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Build messages settings and Find/Replace tool
« Reply #23 on: September 04, 2011, 11:32:44 pm »
Why should it.

Rename the path, so it contains no special characters (the ampersand in your case) and it will work again.
Alternatively you can add the ampersand to the output parsing regexes for warnings and errors in "Settings -> Compiler and debugger... -> Other settings -> Advanced options... -> Output parsing".


Thank you. Problem fixed. Sorry I didn't reply sooner as I was working on researching the GIF specification.