Closed Bug 494693 Opened 16 years ago Closed 13 years ago

visibility attribute ignored in nsIX509Cert2.idl

Categories

(Core Graveyard :: Security: UI, defect)

x86
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 file)

../../../../dist/include/nsIX509Cert2.h:22: warning: ‘CERTCertificate’: visibility attribute ignored because it ../../../../dist/include/certt.h:72: warning: conflicts with previous declaration here
Attached patch patchSplinter Review
Attachment #379458 - Flags: superreview?(ted.mielczarek)
Attachment #379458 - Flags: review?(kaie)
Comment on attachment 379458 [details] [diff] [review] patch I'm not sure why you want my review here?
Attachment #379458 - Flags: superreview?(ted.mielczarek)
I don't understand why you need this change. - typedef struct CERTCertificateStr CERTCertificate; + typedef NS_VISIBILITY_DEFAULT struct CERTCertificateStr CERTCertificate; From NSS header file certt.h: typedef struct CERTCertificateStr CERTCertificate; cc'ing Wan-Teh who knows a lot about these low level C flags.
I am not familiar with NS_VISIBILITY_DEFAULT when it is applied to a type. I know what it means when it is applied to a function. I searched for NS_VISIBILITY_DEFAULT in mozilla-central but didn't find any other example of the change that timeless suggested: http://mxr.mozilla.org/mozilla-central/search?string=NS_VISIBILITY_DEFAULT timeless, could you explain your proposed patch or give an example? Thanks.
Comment on attachment 379458 [details] [diff] [review] patch r- because we don't understand why the change is necessary
Attachment #379458 - Flags: review?(kaie) → review-
incomplete
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: