Closed Bug 347589 Opened 18 years ago Closed 18 years ago

BWC warnings

Categories

(Camino Graveyard :: General, defect)

1.8 Branch
PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stuart.morgan+bugzilla, Assigned: peeja)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

Issues causing compiler warnings in BWC (because they annoy me when compiling):

1436     NSString* curURL = [[self getBrowserWrapper] getCurrentURI];
should be removed

3141   BrowserTabViewItem* previouslySelected = [mTabBrowser selectedTabViewItem];
3163   BrowserTabViewItem* previouslySelected = [mTabBrowser selectedTabViewItem];
need casts

3282   [newView setUICreationDelegate:self];
BWC needs to list BrowserUICreationDelegate as a protocol it implements, and list the protocol function in its header (since it does in fact implement it)

3600       [[result itemWithTarget:self andAction:@selector(copyAddressToClipboard:)] setTitle:NSLocalizedString(@"Copy Addresses", @"")];
BWC.mm needs to #import NSMenu+Utils.h
1436 is in the patch for bug 179041.

If any new coders feel like doing these fixes, feel free.

Realistically though... -> me
Assignee: nobody → stridey
This should fix everything but the first one, which has already been fixed. :)
Attachment #234126 - Flags: review?(stuart.morgan)
Assignee: stridey → peter.a.jaros
Comment on attachment 234126 [details] [diff] [review]
Fixes remaining warnings

Sweet, sweet warning-free BWC compilation.

r=me
Attachment #234126 - Flags: superreview?(mikepinkerton)
Attachment #234126 - Flags: review?(stuart.morgan)
Attachment #234126 - Flags: review+
Comment on attachment 234126 [details] [diff] [review]
Fixes remaining warnings

sr=pink

off topic, what are we doing about the millions of warnings when building gcc4 with the 10.4 sdk?
Attachment #234126 - Flags: superreview?(mikepinkerton) → superreview+
Whiteboard: [good first bug] → [good first bug] [needs checkin]
(In reply to comment #4)
> off topic, what are we doing about the millions of warnings when building gcc4
> with the 10.4 sdk?

Waiting for people using that config to file bugs?  Except for the people on Intel who have to use that config, I believe everyone is using the "release" PPC config of gcc 3.3 and 10.2.8 SDK.
(In reply to comment #4)
> off topic, what are we doing about the millions of warnings when building gcc4
> with the 10.4 sdk?
> 

We just (finally!) filed bug 349948 to get rid of the no-non-virtual-destructor warnings, by the way.

Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Whiteboard: [good first bug] [needs checkin]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: