Modify

Opened 4 years ago

Closed 3 years ago

#9230 closed Bugs (fixed)

MSVC: new compiler warnings since v1.54.0

Reported by: raad@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.54.0 Severity: Cosmetic
Keywords: Cc:

Description

There are two new level 3 compiler warnings in context::use_certificate and context::make_buffer_bio:

boost\boost/asio/ssl/impl/context.ipp(432): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data

boost\boost/asio/ssl/impl/context.ipp(932): warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data

Patch against 1.55.0 beta attached.

Attachments (1)

context.ipp.patch (600 bytes) - added by raad@… 4 years ago.
Patch to remove the warnings with static_casts from size_t to int

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by raad@…

Attachment: context.ipp.patch added

Patch to remove the warnings with static_casts from size_t to int

comment:1 Changed 3 years ago by chris_kohlhoff

Resolution: fixed
Status: newclosed

Was fixed in r86462. Included in boost 1.55.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain chris_kohlhoff.
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.