public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3574: sizeof(bool) changed from gcc2 to gcc3 on Alphas - needs _big_ warning in documentation!
@ 2001-07-05 14:30 aoliva
0 siblings, 0 replies; 2+ messages in thread
From: aoliva @ 2001-07-05 14:30 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, niemayer, nobody
Synopsis: sizeof(bool) changed from gcc2 to gcc3 on Alphas - needs _big_ warning in documentation!
State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Thu Jul 5 14:30:13 2001
State-Changed-Why:
The release notes mention the new C++ ABI. New ABI means differences in binary representation.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3574&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/3574: sizeof(bool) changed from gcc2 to gcc3 on Alphas - needs _big_ warning in documentation!
@ 2001-07-05 13:16 niemayer
0 siblings, 0 replies; 2+ messages in thread
From: niemayer @ 2001-07-05 13:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 3574
>Category: c++
>Synopsis: sizeof(bool) changed from gcc2 to gcc3 on Alphas - needs _big_ warning in documentation!
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 05 13:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Peter Niemayer
>Release: gcc-3.0
>Organization:
>Environment:
Alpha CPUs, maybe other 64bit-architectures
>Description:
It's probably documented somewhere deep inside the Changelogs
(didn't find it by myself), but you should _really_ put a
_very_big_warning_sign_ on gcc-3.0 telling people that the
sizeof(bool) changed from 8 to 1 on Alphas (and maybe other
64bit-platforms?) - because this immediately breaks many
applications that try to load binary files they've written
themselfes before, when they were compiled with gcc-2.x.x
It's no fun searching for the obscure crashes this may
cause...
>How-To-Repeat:
just printf(sizeof(bool)) with gcc2, then gcc3 - and imagine
what this means if a binary file was written by a gcc2
compiled application and read by the same application compiled
with gcc3...
>Fix:
put a _VERY_BIG_ warning in the release notes...
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-05 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-05 14:30 c++/3574: sizeof(bool) changed from gcc2 to gcc3 on Alphas - needs _big_ warning in documentation! aoliva
-- strict thread matches above, loose matches on Subject: below --
2001-07-05 13:16 niemayer
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).