Code::Blocks Forums

User forums => Help => Topic started by: Michael on June 04, 2006, 01:58:20 am

Title: extra qualification error and envvars zip error
Post by: Michael on June 04, 2006, 01:58:20 am
Hello,

There is an extra qualification error when building C::B rev 1526:

Quote
plugins\astyle\/./astyle/astyle.h:417: error: extra qualification 'astyle::ASFormatter::' on member 'isSequenceReached'

Code
/**
* check if a specific sequence exists in the current placement of the current line
*
* @return             whether sequence has been reached.
* @param sequence     the sequence to be checked
*/
inline bool ASFormatter::isSequenceReached(const char *sequence) const {
  return currentLine.compare(charNum, strlen(sequence), sequence) == 0;
}

GCC 4.1.0 does not support extra qualification.

And I also get the following when building the contr. plugins:

Quote
Running project post-build steps
zip -j9 ..\..\..\devel\share\codeblocks\envvars.zip *.xrc
Execution of 'zip -j9 ..\..\..\devel\share\codeblocks\envvars.zip *.xrc' in 'C:\Programme\DANAE\CodeBlocks\CodeBlocks\src\plugins\contrib\envvars' failed.

EDIT: The zip failed proble was solved by copying the zip.exe into the envvars folder.

Best wishes,
Michael
Title: Re: extra qualification error and envvars zip error
Post by: Ceniza on June 04, 2006, 03:35:42 am
I just removed the extra qualification in HEAD.

Thanks :)