Bug 165628
Summary: | fsck.cramfs.c:98: error: variable-size type declared outside of any function | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Cantrell <dcantrell> |
Component: | util-linux | Assignee: | Karel Zak <kzak> |
Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-08-15 12:03:41 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
David Cantrell
2005-08-10 22:07:22 UTC
Thanks for report, but sizeof() is bad idea -- it returns size of object in memory. It means 4 bytes (for 32bit int) -- original macro is >=4096. BTW, I cannot reproduce it with gcc 4.0 or 3.2. You report is for devel branch, but there's gcc4. We have gcc 3.4 in FC3, but there's different code in fsck.cramfs.c. Just built with gcc 4.x and it's fine. Disregard my report. Gcc major version changes can be annoying. And yeah, I know what sizeof() does. One of those stupid brain misfunction incidents. Thanks and sorry to waste your time. |