News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Build messages settings and Find/Replace tool

Started by Joshua Flynn, August 31, 2011, 09:49:52 AM

Previous topic - Next topic

Joshua Flynn

Quote from: oBFusCATed on August 31, 2011, 06:50:13 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).

Jenna

Last try, after that I give up:
Quote from: jens on August 31, 2011, 12:41:35 PM
Please read carefully:
Quote from: jens on August 31, 2011, 10:23:36 AM
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.

oBFusCATed

Quote from: Joshua Flynn on August 31, 2011, 07:12:54 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!]

Joshua Flynn

#18
Quote from: jens on August 31, 2011, 07:20:57 PM
Last try, after that I give up:
Quote from: jens on August 31, 2011, 12:41:35 PM
Please read carefully:
Quote from: jens on August 31, 2011, 10:23:36 AM
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:

-------------- 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:
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).

Joshua Flynn

Quote from: oBFusCATed on August 31, 2011, 07:41:40 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.

Jenna

Quote from: Joshua Flynn on August 31, 2011, 08:34:56 PM
Quote from: oBFusCATed on August 31, 2011, 07:41:40 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".

oBFusCATed

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!]

Jenna

Quote from: oBFusCATed on August 31, 2011, 09:50:45 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.

Joshua Flynn

Quote from: jens on August 31, 2011, 09:36:11 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.