This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29956] New: Violation of ISO C++ "4.4 Qualification conversions"
- From: "sgaltsev at cbossgroup dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2006 14:08:51 -0000
- Subject: [Bug c++/29956] New: Violation of ISO C++ "4.4 Qualification conversions"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
g++ -v:
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls--disable-libgcj --enable-languages=c,c+
: (reconfigured) ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj
--enable-languages=c,c++
Thread model: posix
gcc version 3.4.2
g++ 1.cpp -o 1:
1.cpp: In function `int main()':
1.cpp:6: error: invalid operands of types `const int* const* const' and `int*
const* const' to binary `operator-'
Expected behaviour: errorless compilation, since the programm follows
ISO C++ "4.4 Qualification conversions".
--
Summary: Violation of ISO C++ "4.4 Qualification conversions"
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sgaltsev at cbossgroup dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29956