Closed GoogleCodeExporter closed 9 years ago
Some notes after a closer look with Mickael :
As of now, opj_config.h is included from opj_stdint.h only to get the value of
:
- HAVE_STDINT_H
- HAVE_SSIZE_T
The other macros are not used in the public API of openjpeg.
Proposed solution :
[1] HAVE_SSIZE_T seems to be an old macro, not used at all in the code.
A grep says it is used in the internal libtiff, but the libtiff configuration
process handles that itself.
So to my opinion, in opj_stdint.h, the end of the file related to HAVE_SSIZE_T
can simply be deleted.
[2] Rename HAVE_STDINT_H to OPJ_HAVE_STDINT_H to avoid similar issues.
[3] Move all other macros to an internal opj_config_private.h file, only
included in .c files.
[4] Rename these other macros with a OPJ_ prefix for consistency.
Original comment by julien.m...@gmail.com
on 30 Nov 2012 at 3:57
This appears to have been fixed in SVN.
Original comment by bgilb...@backtick.net
on 9 Jul 2013 at 9:33
Original comment by mathieu.malaterre
on 25 Feb 2014 at 3:39
As per OP reprot, this is now fixed. Closing.
Original comment by mathieu.malaterre
on 27 Feb 2014 at 10:17
Original issue reported on code.google.com by
bgilb...@backtick.net
on 26 Nov 2012 at 5:43