Bug 55443
Summary: | parse error with gcc2.96, gcc3 is ok | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | chrb |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
URL: | http://www.dcs.ed.ac.uk/~chrb/gccbug_311001.tar.gz | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-10-31 11:59:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
chrb
2001-10-31 11:59:44 UTC
This is not a bug, buggy is your code. Try -pedantic-errors option in gcc3, you'll get ISO C89 forbids mixed declarations and code error. ISO C99 allows this, but gcc by default compiles C89 code and in gcc3 supporting this in C89 mode is just a GNU extension. |