Hello,
I have found an extra-qualification error in sdk\cbeditor.cpp:135:
cbEditorInternalData::~cbEditorInternalData()
{
}
Quote
sdk\cbeditor.cpp:135: error: extra qualification 'cbEditorInternalData::' on member 'cbEditorInternalData'
Best wishes,
Michael
PS.: I have quite forgotten... :)...C::B rev2544 & GCC 4.1.0
Fixed :)
I just hope killerbot don't release another nightly because of it like he did some time ago :P
Quote from: Ceniza on June 12, 2006, 01:37:31 AM
Fixed :)
Thanks for the fast correction :). Anyway, this "issues" are only a problem with GCC >= 4.1.0. WIth GCC 4.0.3 --> no problems.
Best wishes,
Michael
I have a small question. What is wrong with the extra qualification, and what is an extra qualification?
I have never heard of it before (until recently when some of you started using GCC 4). :shock:
Quote from: sethjackson on June 12, 2006, 01:49:57 PM
I have a small question. What is wrong with the extra qualification, and what is an extra qualification?
I have never heard of it before (until recently when some of you started using GCC 4). :shock:
Hello,
May be this can help a bit:
http://wiki.frugalware.org/Extra_qualification_error
Best wishes,
Michael
class Test
{
public:
MyMethod() // no need to specify it's a Test member, so no extra qualification
}
class Test
{
public:
Test::MyMethod() // here we have an extra qualification, specifying it's a test member method , duh
}
Yes, I have the same question :lol:, when I use the GCC4.1.1 instead of the 3.4.2, I have to remove all the 'extra qualifications' that I put in some header files, but I do not know why it will say an error in the cpp file? :shock:
Quote from: oz on June 12, 2006, 02:00:28 PM
Yes, I have the same question :lol:, when I use the GCC4.1.1 instead of the 3.4.2, I have to remove all the 'extra qualifications' that I put in some header files, but I do not know why it will say an error in the cpp file? :shock:
because it was in the declaration/definition of a local struct in the cpp file, like in my previous example above it does not matter where that code is put (header or source), when you implement in the class body no extra specification is required