This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Is this really the right error message?
- From: Roberto Bagnara <bagnara at cs dot unipr dot it>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 23 Nov 2006 21:02:11 +0100
- Subject: Is this really the right error message?
$ cat p.cc
char c[2] = "a";
char d[2] = c;
$ g++ -c p.cc
p.cc:2: error: cannot convert ‘char [2]’ to ‘char [2]’ in initialization
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara@cs.unipr.it