Bug 30671
Summary: | Compilation of program fails | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Andrew Potter <apotter> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
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: | 2001-03-06 01:16:07 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
Andrew Potter
2001-03-05 18:38:47 UTC
I forgot to mention that the program will compile OK with Slackware Linux, v 3. This looks like a bug in vfudgit: it should not supply prototypes for functions provided by libc. In this case it breaks because strstr is defined as a macro in glibc if optimizing (and it is allowed to do so). Either remove the offending prototypes, or compile with -D__NO_STRING_INLINES which will result in strstr and a couple of other string functions not being defined as macros. |