[Bug c++/14123] odd number of parentheses in error message
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 11 16:42:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-06-11 16:42 -------
A simpler testcase is the one from PR 15943:
--------------
struct a {
int x[8];
};
int main () {
int a::*n[8];
n = &a::x;
}
--------------
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -c x.cc
x.cc: In function `int main()':
x.cc:8: error: incompatible types in assignment of `int a::*)[8]' to `int
a::*[8]'
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14123
More information about the Gcc-bugs
mailing list