3 # This file contains typical error messages from C++ compilers and
4 # instructions how to fix them properly.
6 # === ISO C++ forbits declaration of '%s' with no type ===
8 # This g++ error message appears when a variable is declared, but the
9 # type of the variable has not been defined before.
11 # A common cause is that the type has been "declared" implicitly in a
12 # friend declaration of a class. Up to g++3, this friend declaration
13 # was also an implicit class declaration. Starting with g++4, this is no
16 # Now you have to declare the friend class twice: Once to say that it is
17 # a class, and twice to say that it is a friend. Example:
29 # class You; // <-- new
36 # Keywords: ISO C++ forbids declaration type friend