Closed
Bug 13390
Opened 26 years ago
Closed 26 years ago
xpidl: consts that aren't longs or shorts should be a warning
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: cbegle, Assigned: mike+mozilla)
Details
only shorts and longs can be consts. trying to declare consts of other types
should generate a warning.
this would be a good one for the faq. shaver tells me there's a related bug
for this but i haven't found it yet.
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•26 years ago
|
||
Marking as assigned. I'm thinking it'll be quick.
couldn't find the other bug. jband, is there a reason why other types can't be
const?
Comment 4•26 years ago
|
||
I pointed out the reason for not doing 'string' and 'wstring' in the faq. The
other types are simply not worth bothering with.
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•26 years ago
|
||
Fixed. (I'm also turning an existing warning into an error on the typelib
backend, but I won't hold the bug open for that.)
Thanks, shaver.
| Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•