Bug 55744
Summary: | g++ compiling bug | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Florent <florent> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
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-11-06 19:16:50 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
Florent
2001-11-05 22:23:38 UTC
It is both a bug in your Makefile and in cpp, but the one in cpp has a fix scheduled already for some time into 2.96-100. 2001-05-27 Neil Booth <neil.co.uk> * cpplib.c (run_directive): Set pfile->directive. --- gcc/cpplib.c.jj Fri Oct 12 16:49:21 2001 +++ gcc/cpplib.c Thu Oct 18 10:53:03 2001 @@ -398,7 +398,8 @@ run_directive (pfile, dir_no, type, buf, start_directive (pfile); pfile->state.prevent_expansion++; - (void) (*dtable[dir_no].handler) (pfile); + pfile->directive = &dtable[dir_no]; + (void) (*pfile->directive->handler) (pfile); pfile->state.prevent_expansion--; check_eol (pfile); end_directive (pfile, 1); The bug in the Makefile is -D~/myfolder, defineds need to be identifiers. You probably want something like -DHOME=`echo ~/myfolder`. The fix is in 2.96-100 and above. *** Bug 64308 has been marked as a duplicate of this bug. *** An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2002-055.html |