Closed Bug 826231 Opened 12 years ago Closed 12 years ago

Fix build warnings on MSVC in xpcom/tests

Categories

(Core :: XPCOM, defect)

All
Windows 8
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: emk, Assigned: emk)

References

Details

Attachments

(1 file)

      No description provided.
Depends on: 556886
Attached patch patchSplinter Review
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Attachment #697473 - Flags: review?(ehsan)
Comment on attachment 697473 [details] [diff] [review]
patch

Review of attachment 697473 [details] [diff] [review]:
-----------------------------------------------------------------

::: xpcom/tests/TestSTLWrappers.cpp
@@ +12,5 @@
>  
>  // gcc errors out if we |try ... catch| with -fno-exceptions, but we
>  // can still test on windows
>  #ifdef _MSC_VER
> +#  pragma warning( disable : 4530 )

Please add a warning saying which warning this is disabling.
Attachment #697473 - Flags: review?(ehsan) → review+
Pushed with adding the comment.
https://hg.mozilla.org/integration/mozilla-inbound/rev/880ec15a42bf
Flags: in-testsuite-
https://hg.mozilla.org/mozilla-central/rev/880ec15a42bf
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: