Issue Details (XML | Word | Printable)

Key: PCC-262
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Jonathan Gray
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
pcc

disable-gcc-compat is broken

Created: 25/Feb/11 01:44 AM   Updated: 03/May/14 11:48 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Environment: pcc CVS, OpenBSD/i386


 Description  « Hide
pcc will not currently compile with --disable-gcc-compat:

gcc -DPCC_DEBUG -Dos_openbsd -Dmach_i386 -D_ISOC99_SOURCE -I. -I. -I../.. -I../../mip -I../../arch/i386 -I../../os/issing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -c -o pftn.o pftn.c
pftn.c: In function 'defid':
pftn.c:341: error: 'GCC_ATYP_GNU_INLINE' undeclared (first use in this function)
pftn.c:341: error: (Each undeclared identifier is reported only once
pftn.c:341: error: for each function it appears in.)
pftn.c:373: error: 'GCC_ATYP_MODE' undeclared (first use in this function)
pftn.c:461: error: 'GCC_ATYP_WEAKREF' undeclared (first use in this function)
pftn.c: In function 'dclargs':
pftn.c:627: error: 'GCC_ATYP_ALW_INL' undeclared (first use in this function)
pftn.c: In function 'talign':
pftn.c:1098: error: 'GCC_ATYP_ALIGNED' undeclared (first use in this function)

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 26/Feb/11 03:50 PM
Well-known. There's another bug report about this also.

Anders Magnusson added a comment - 03/May/14 11:48 AM
Now (at last) pcc can be compiled without gcc compatibility :-)