Implement 12-bit-specific error/warn/trace macros

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
This commit is contained in:
DRC
2022-06-24 15:21:51 -05:00
parent aa5a359945
commit 8a3b0f70d2
16 changed files with 391 additions and 22 deletions

View File

@@ -26,7 +26,7 @@
#include "jinclude.h"
#include "jpeglibint.h"
#include "jversion.h"
#include "jerror.h"
#include "jerrorint.h"
#ifdef USE_WINDOWS_MESSAGEBOX
#include <windows.h>
@@ -48,7 +48,7 @@
#define JMESSAGE(code, string) string,
const char * const jpeg_std_message_table[] = {
#include "jerror.h"
#include "jerrorint.h"
NULL
};