User forums > Help
extra qualification error in sdk\cbeditor.cpp
killerbot:
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
}
oz:
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:
killerbot:
--- 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:
--- End quote ---
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
Navigation
[0] Message Index
[*] Previous page
Go to full version