News | About | Get Frugalware | Packages | Documentation | Discussion Forums | Bug Tracker | Wiki | Community | Development

Extra qualification error

From FrugalWiki

Jump to: navigation, search

With the new gcc version most of C programs throw an error named extra qualification. Let's see how we can solve the error. What is the problem.

class Foo
{

    int Foo::Foo(void);

}

There's no need to type the class name before the methods. Code will be more clear.

class Foo
{

    int Foo(void);

}
Personal tools
Namespaces
Variants
Actions