Closed
Bug 15585
Opened 26 years ago
Closed 26 years ago
[dogfood]Clean-up build warnings
Categories
(Core Graveyard :: Tracking, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M12
People
(Reporter: slamm, Assigned: pnunn)
References
()
Details
(Whiteboard: [PDT-])
http://tinderbox.mozilla.org/SeaMonkey/warnings.html#pnunn
The warnings about "j1" or "gamma" shadows globals come from system header files
that pollute the name space. You can find where these are initially defined by
compiling with '-E' to only preprocess the file. Maybe you have included a
header file you do not need. Otherwise, you might just change the names of your
variable so they do not conflict.
Would you also look at the warnings for hardts since he is no longer around?
Now you have a bug so you can check in your fix. =)
Summary: Clean-up build warnings → [dogfood]Clean-up build warnings
Target Milestone: M12 → M11
I think various checkins have addressed alot of these
warnings...I'm marking m11 [dogfood] to be sure I
check that all have been fixed.
Updated•26 years ago
|
Whiteboard: [PDT-]
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This is down to one warning that I think
is bogus. The warning occurs for an unused variable
that lives in a debug ifdef.
I'm closing this one.
-pn
| Reporter | ||
Comment 3•26 years ago
|
||
The warning does not look like an error, but it is a valid warning. The code is
an ifdef DEBUG, but ILTRACE is defined to {}, so aspect is not used.
996 float aspect = (float)((q[6] + 15) / 64.0);
997 ILTRACE(2, ("il:gif: %f aspect ratio", aspect));
Maybe add a define to the header,
#define USE_ILTRACE 1
if it is supposed to do something, then use
#ifdef USE_ILTRACE
around the block of code that gives the warning.
what about replacing the #ifdef DEBUG block with
#ifdef USE_ILTRACE
....
#endif
That should be simpler and obtain the same
ultimate result. I'll test the warning on linux
and checkin after a nice build.
-pn
| Reporter | ||
Comment 5•26 years ago
|
||
Sounds good.
| Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 6•26 years ago
|
||
Marking verified.
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•