Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 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)

Attachments (0)

Change History (5)

comment:1 Changed 4 years ago by Andrii Sydorchuk

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

comment:2 Changed 4 years ago by Andrii Sydorchuk

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

comment:3 Changed 4 years ago by Andrii Sydorchuk

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

comment:4 Changed 4 years ago by Andrii Sydorchuk

Resolution: fixed
Status: newclosed

comment:5 Changed 4 years ago by Andrii Sydorchuk

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Andrii Sydorchuk.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.