The macros in jerror.h refer to j_common_ptr, so it is unfortunately necessary to introduce a 12-bit-specific version of that header file (j12error.h) with 12-bit specific ERREXIT*(), WARNMS*(), and TRACEMS*() macros. (The message table is still shared between 8-bit and 12-bit implementations.) Fixes #607
14 lines
231 B
C
14 lines
231 B
C
/*
|
|
* jerrorint.h
|
|
*
|
|
* Copyright (C) 2022, D. R. Commander.
|
|
* For conditions of distribution and use, see the accompanying README.ijg
|
|
* file.
|
|
*/
|
|
|
|
#if BITS_IN_JSAMPLE == 12
|
|
#include "j12error.h"
|
|
#else
|
|
#include "jerror.h"
|
|
#endif
|