Opened 6 years ago

Last modified 4 years ago

#12822 new Bugs

MSVC14u3: compiler warning

Reported by: Domagoj Šarić Owned by: Paul A. Bristow
Milestone: To Be Determined Component: sort
Version: Boost 1.63.0 Severity: Showstopper
Keywords: 1 Cc: arachni@…

Description

I get a: "Warning C4267 'argument': conversion from 'size_t' to 'int', possible loss of data" which cannot be silenced with a pragma and so it causes a compilation failure in treat-warnings-as-errors builds...

This is the template instantiation back trace to your source:

<algorithm> line 2671
<algorithm> line 2686
<algorithm> line 2748
<algorithm> line 2776
<algorithm> line 2784
<boost/sort/spreadsort/detail/integer_sort.hpp> line 297

Change History (1)

in reply to:  1 ; comment:1 by arachni_name <arachni@…>, 4 years ago

Cc: arachni@… added
Keywords: 1 added

1"'`--

Note: See TracTickets for help on using tickets.