Closed
Bug 947735
Opened 11 years ago
Closed 11 years ago
Build modules/libmar/ in unified mode
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
3.10 KB,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #8344373 -
Flags: review?(netzen)
Comment 2•11 years ago
|
||
Comment on attachment 8344373 [details] [diff] [review]
Build modules/libmar/ in unified mode
Review of attachment 8344373 [details] [diff] [review]:
-----------------------------------------------------------------
r+ otherwise
::: modules/libmar/src/mar_read.c
@@ +551,3 @@
> int *hasAdditionalBlocks,
> + uint32_t *offsetAdditionalBlocks,
> + uint32_t *numAdditionalBlocks)
Why are these changes being made, is it in response to any warnings? If not I'd rather leave them out.
Attachment #8344373 -
Flags: review?(netzen) → review+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #2)
> ::: modules/libmar/src/mar_read.c
> @@ +551,3 @@
> > int *hasAdditionalBlocks,
> > + uint32_t *offsetAdditionalBlocks,
> > + uint32_t *numAdditionalBlocks)
>
> Why are these changes being made, is it in response to any warnings? If not
> I'd rather leave them out.
The compiler gets mad at us because this function actually doesn't match the signature of the function declared in the header: <http://mxr.mozilla.org/mozilla-central/source/modules/libmar/src/mar_cmdline.h#34>
The way that this currently "works" is that mar_read.c which is the fine that defines this function (mar_read.c) doesn't include mar_cmdline.h, so the compiler currently doesn't know about this incorrect code. Unifying these files makes the compiler aware of this brokenness and it complains, rightly so.
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•