public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29956] Violation of ISO C++ "4.4 Qualification conversions"
2006-11-23 14:09 [Bug c++/29956] New: Violation of ISO C++ "4.4 Qualification conversions" sgaltsev at cbossgroup dot com
@ 2006-11-23 14:09 ` sgaltsev at cbossgroup dot com
2006-11-23 14:13 ` rguenth at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: sgaltsev at cbossgroup dot com @ 2006-11-23 14:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from sgaltsev at cbossgroup dot com 2006-11-23 14:09 -------
Created an attachment (id=12672)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12672&action=view)
1.ii
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29956
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/29956] New: Violation of ISO C++ "4.4 Qualification conversions"
@ 2006-11-23 14:09 sgaltsev at cbossgroup dot com
2006-11-23 14:09 ` [Bug c++/29956] " sgaltsev at cbossgroup dot com
2006-11-23 14:13 ` rguenth at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: sgaltsev at cbossgroup dot com @ 2006-11-23 14:09 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/29956] Violation of ISO C++ "4.4 Qualification conversions"
2006-11-23 14:09 [Bug c++/29956] New: Violation of ISO C++ "4.4 Qualification conversions" sgaltsev at cbossgroup dot com
2006-11-23 14:09 ` [Bug c++/29956] " sgaltsev at cbossgroup dot com
@ 2006-11-23 14:13 ` rguenth at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-11-23 14:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2006-11-23 14:13 -------
No, subtraction of pointer types "const int *const *" and "int *const *" is
nonstandard.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29956
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-23 14:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-23 14:09 [Bug c++/29956] New: Violation of ISO C++ "4.4 Qualification conversions" sgaltsev at cbossgroup dot com
2006-11-23 14:09 ` [Bug c++/29956] " sgaltsev at cbossgroup dot com
2006-11-23 14:13 ` rguenth at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).