Opened 11 years ago

Closed 4 years ago

#6681 closed Bugs (obsolete)

Boost::GIL with MSVC Warning Level 4 gives some warnings.

Reported by: shiracha.rikyu@… Owned by: chhenning
Milestone: To Be Determined Component: gil USE GITHUB
Version: Boost 1.48.0 Severity: Problem
Keywords: warning Cc: mateusz@…

Description

In compiling Boost::GIL user code, MSVC(VC10) with /W4 compile option gives following warnings.

  • boost/gil/extension/io/io_error.hpp line:40 C4996
  • boost/gil/extension/io/png_io_private.hpp line:158 C4611
  • boost/gil/image.hpp line:196 C4127
  • boost/gil/algorithm.hpp line:629 C4127
  • boost/gil/extension/io/png_io_private.hpp line:345 C4127
  • boost/gil/algorithm.hpp line:443 C4127

Change History (3)

comment:1 by chhenning, 10 years ago

Owner: changed from Hailin Jin to chhenning

Added changes to gil and dynamic image extension.

comment:2 by Mateusz Loskot, 6 years ago

Cc: mateusz@… added

@chhenning So, has this been fixed?

comment:3 by Mateusz Loskot, 4 years ago

Resolution: obsolete
Status: newclosed

GIL in Boost 1.68 delivers completely re-implemented I/O extensions, so some of the warnings may have been gone now.

There also have been numerous warnings clean-ups before releasing 1.68. Other warnings will need to be re-reviewed and fixed as noticed.

I'm closing as obsolete.

github ref: https://github.com/boostorg/gil/projects/4#card-12438901

Note: See TracTickets for help on using tickets.