1
0
mirror of https://github.com/glennrp/libpng.git synced 2026-10-24 08:39:18 +03:00
Files
Cosmin Truta 28cb99fe65 build: Remove the POINTER_INDEXING config option
POINTER_INDEXING was a build configuration option that we maintained
in order to work around a gcc 2.7.2.2 code generation bug (circa 1997).
This provided array-indexing fallback loops in `png_write_PLTE` and
`png_write_sPLT`.

Unfortunately, the fallback paths were effectively untested dead code
in every default build, and have been a recurring source of latent bugs.
(See commit 48800443eb in pnggroup/libpng#801 and commit f27592a0cd in
libpng 1.5.2rc02).

No compiler in current use requires this accommodation.
2026-03-06 17:58:06 +02:00
..

pnglibconf - libpng configuration utilities

  • Copyright (c) 2025 Cosmin Truta.
  • Copyright (c) 2010-2014 Glenn Randers-Pehrson.
  • Originally written by John Bowler, 2010.

Use, modification and distribution of the pnglibconf software in the libpng distribution are subject to the same licensing terms and conditions as libpng. Please see the copyright notice in png.h or visit http://libpng.org/pub/png/src/libpng-LICENSE.txt