Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8257 closed Bugs (fixed)

#pragma warning default in polygon

Reported by: gast128@… Owned by: Andrii Sydorchuk
Milestone: Boost 1.54.0 Component: polygon
Version: Boost 1.53.0 Severity: Cosmetic
Keywords: Cc:

Description

I think the correct way to disable a warning is to use 'push', 'disable' 'pop' instead of using 'default':

boost\polygon\gtl.hpp(12):#pragma warning (disable:1125) boost\polygon\gtl.hpp(16):#pragma warning( disable: 4996 ) boost\polygon\gtl.hpp(17):#pragma warning( disable: 4800 ) boost\polygon\gtl.hpp(25):#pragma warning (default:1125) boost\polygon\polygon_45_set_data.hpp(1554):#pragma warning (disable: 4127) boost\polygon\polygon_45_set_data.hpp(1570):#pragma warning (default: 4127) boost\polygon\polygon_45_set_data.hpp(1681):#pragma warning (disable: 4127) boost\polygon\polygon_45_set_data.hpp(1691):#pragma warning (default: 4127) boost\polygon\polygon_traits.hpp(988):#pragma warning (disable:1572) boost\polygon\polygon_traits.hpp(992):#pragma warning (default:1572) boost\polygon\detail\boolean_op_45.hpp(373):#pragma warning (disable: 4127) boost\polygon\detail\boolean_op_45.hpp(386):#pragma warning (default: 4127) boost\polygon\detail\boolean_op_45.hpp(408):#pragma warning (disable: 4127) boost\polygon\detail\boolean_op_45.hpp(419):#pragma warning (default: 4127) boost\polygon\detail\polygon_45_set_view.hpp(42):#pragma warning (disable: 4127) boost\polygon\detail\polygon_45_set_view.hpp(53):#pragma warning (default: 4127) boost\polygon\detail\polygon_45_set_view.hpp(65):#pragma warning (disable: 4127) boost\polygon\detail\polygon_45_set_view.hpp(76):#pragma warning (default: 4127) boost\polygon\detail\polygon_45_set_view.hpp(156):#pragma warning (disable: 4127) boost\polygon\detail\polygon_45_set_view.hpp(167):#pragma warning (default: 4127) boost\polygon\detail\polygon_set_view.hpp(105):#pragma warning (disable: 4127) boost\polygon\detail\polygon_set_view.hpp(114):#pragma warning (default: 4127) boost\polygon\detail\polygon_sort_adaptor.hpp(11):#pragma warning(disable:2022) boost\polygon\detail\polygon_sort_adaptor.hpp(12):#pragma warning(disable:2023) boost\polygon\detail\scan_arbitrary.hpp(1041):#pragma warning( disable: 4127 ) boost\polygon\detail\scan_arbitrary.hpp(1149):#pragma warning( default: 4127 ) boost\polygon\detail\scan_arbitrary.hpp(2295):#pragma warning (disable:1572) boost\polygon\detail\scan_arbitrary.hpp(2299):#pragma warning (default:1572) boost\polygon\detail\scan_arbitrary.hpp(2542):#pragma warning (disable: 4127) boost\polygon\detail\scan_arbitrary.hpp(2572):#pragma warning (default: 4127)

Change History (5)

comment:1 by Andrii Sydorchuk, 10 years ago

Owner: changed from Lucanus Simonson to Andrii Sydorchuk
Version: Boost 1.52.0Boost 1.54.0

comment:2 by Andrii Sydorchuk, 10 years ago

Milestone: To Be DeterminedBoost 1.54.0
Version: Boost 1.54.0Boost 1.53.0

comment:3 by Andrii Sydorchuk, 10 years ago

The change is fixed on trunk. Will be merged with release in Boost 1.54.

comment:4 by Andrii Sydorchuk, 10 years ago

Resolution: fixed
Status: newclosed

comment:5 by Andrii Sydorchuk, 10 years ago

(In [83918]) [Polygon] Merging from trunk for the upcoming release: 1) Updated Voronoi documentation. 2) Fixed #8026, #8197, #8257.

Note: See TracTickets for help on using tickets.