Closed Bug 488993 Opened 15 years ago Closed 9 years ago

Fix layout/base/nsPresContext.cpp warnings

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: sgautherie, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090417 SeaMonkey/2.0b1pre] (experimental/_m-c_, home, optim default) (W2Ksp4)
(http://hg.mozilla.org/mozilla-central/rev/9e06217fc471
 +http://hg.mozilla.org/comm-central/rev/...)

{
nsPresContext.cpp(459) : warning C4244: 'argument' : conversion from 'PRInt32' to 'float', possible loss of data
nsPresContext.cpp(526) : warning C4244: 'argument' : conversion from 'PRInt32' to 'float', possible loss of data
nsPresContext.cpp(758) : warning C4244: 'initializing' : conversion from 'PRInt32' to 'float', possible loss of data
nsPresContext.cpp(759) : warning C4244: 'initializing' : conversion from 'PRInt32' to 'float', possible loss of data
nsPresContext.cpp(1628) : warning C4101: 'type' : unreferenced local variable
}

There are also some "warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc".
Blocks: buildwarning
Whiteboard: [build_warning]
FWIW,

Bug 571946 fixed:
  nsPresContext.cpp(1628) : warning C4101: 'type' : unreferenced local variable
WONTFIX because, as of bug 857863, we now suppress MSVC warning C4244.
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 571946
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.