Issue Details (XML | Word | Printable)

Key: PCC-148
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Anders Magnusson
Reporter: Iain Hibbert
Votes: 0
Watchers: 0
Operations

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

GCC attribute __weakref__

Created: 06/Jun/10 07:36 PM   Updated: 09/Jun/10 11:28 AM
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Environment: NetBSD/i386


 Description  « Hide
The GCC attribute __weakref__ is not supported

used in NetBSD "src/sys/sys/cdefs_aout.h" and "src/sys/sys/cdefs_elf.h", this looks a bit complex to support fully (the documentation mentions the __alias__ attribute as being related) but the instances that I found in NetBSD (except for GNU sources) only used the basic __weakref__ form with no arguments

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 09/Jun/10 11:28 AM
Fixed. Not many targets seems to support weakref in as, so add compatibility for it as well as native.