Opened 12 years ago

Closed 10 years ago

#4517 closed Bugs (fixed)

Missing std:: qualifier to ptrdiff_t

Reported by: anonymous Owned by: chhenning
Milestone: Boost 1.54.0 Component: gil USE GITHUB
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc: mateusz@…

Description

GIL library is missing std:: qualifier to ptrdiff_t in many places:

boost\gil\algorithm.hpp boost\gil\locator.hpp boost\gil\planar_pixel_iterator.hpp

Attachments (2)

4517-missing-std-qualifier-to-ptrdiff_t-in-headers.patch (40.8 KB ) - added by Mateusz Loskot 10 years ago.
Adds missing std:: qualifier to ptrdiff_t in GIL headers only.
4517-missing-std-qualifier-to-ptrdiff_t-in-libs.patch (19.8 KB ) - added by Mateusz Loskot 10 years ago.
Adds missing std:: qualifier to ptrdiff_t in GIL tests and examples

Download all attachments as: .zip

Change History (8)

comment:1 by Vicente Botet <vicente.botet@…>, 12 years ago

This seems an easy ticket to patch. Please could you provide a patch and the compiler report?

comment:2 by Marshall Clow, 12 years ago

I found:

  • one (line 818) of boost/gil/algorithm.hpp
  • three (lines 38, 39, 40) of boost/gil/locator.hpp
  • one (line 22) of boost/gil/planar_pixel_iterator.hpp

and one more (line 97) of libs/gil/example/interleaved_ptr.hpp

(Search for "<space>ptrdiff_t")

comment:3 by Mateusz Loskot, 10 years ago

Cc: mateusz@… added

by Mateusz Loskot, 10 years ago

Adds missing std:: qualifier to ptrdiff_t in GIL headers only.

by Mateusz Loskot, 10 years ago

Adds missing std:: qualifier to ptrdiff_t in GIL tests and examples

comment:4 by Mateusz Loskot, 10 years ago

Milestone: Boost 1.44.0Boost 1.54.0

comment:5 by chhenning, 10 years ago

Owner: changed from Hailin Jin to chhenning

comment:6 by chhenning, 10 years ago

Resolution: fixed
Status: newclosed

Patches have been applied to boost trunk.

Note: See TracTickets for help on using tickets.