Open
Bug 584953
Opened 14 years ago
Updated 2 years ago
rework NS_DEPRECATED
Categories
(Core :: XPCOM, defect)
Tracking
()
NEW
People
(Reporter: timeless, Unassigned)
Details
NS_DEPRECATED works nicely w/ msvc, however the combination of NS_DEPRECATED and NS_HIDDEN does not work with gcc
the only form that works is to provide both deprecated and visibility("hidden") in the same __attribute__(...).
For reference, Apple handles it this way:
/usr/include/AvailabilityInternal.h:#define
__AVAILABILITY_INTERNAL_DEPRECATED __attribute__((deprecated, visibility("default")))
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•