On Wed, 20 Dec 2000, Michael R. Jinks wrote:
> What I'd like to know is, does anybody have any actual experience in
> which Red Hat 7's gcc actually caused problems
We have run into a couple of problems with not very commonly used C++
constructs in early builds of 2.96. All of them are fixed by now.
Most of the complaints about the compiler are actually caused by broken
code that earlier versions of gcc could deal with because of
ANSI-noncompliance bugs in the earlier versions.
Stuff like doing this in C++:
main() {
int *a;
int const *b;
a=b;
}
is plain wrong. The fact that older gccs compiled it is a bug in older
gccs.
The same goes for:
main() {
void *a;
void **b;
b=a;
}
This stuff is what many people complain about - but it's the code, and not
the compiler, that needs to be fixed. Any ISO compliant compiler will
reject this code.
LLaP
bero
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list