****************************************************************************** ********************* IBIS GOLDEN PARSER BUG REPORT FORM ********************* ****************************************************************************** INSTRUCTIONS To report a bug in the IBIS golden parser. Please fill out the top part of the following form and send the complete form to info@ibis.org. A list of reported bugs is maintained at http://ibis.org/bugs/ibischk/ . ****************************************************************************** PARSER VERSION NUMBER: 7.2.1 PLATFORM (SPARC, HP700, PC, etc.): PC OS AND VERSION: Microsoft Windows 11 Enterprise 22H2, Build 22621.3296 REPORTED BY: Michael Mirmak, Intel Corporation DATE: March 19, 2024 DESCRIPTION OF BUG: In the IBISCHK7 source code, line 110 of ibis_chk.h contains the following line: typedef enum bool {FALSE, TRUE, UNKNOWN} BOOL; This defines "BOOL" as a variable of enumerated type "bool", which may take on three (3) possible values. However, Microsoft Windows has for a very long time used the following definition in WinDef.h and elsewhere: typedef int BOOL; (see Microsoft's documentation: https://learn.microsoft.com/en-us/windows/win32/winprog/windows-data-types) This does not permit use of some compliers (such as Clang), which expect BOOL to be identical to int per the Windows definition. Clang is of particular interest as a compiler due to its compatibility with some fuzzing tools. For those working with the IBISCHK7 source code, this conflict can be avoided by renaming BOOL to another string (e.g., EBOOL). However, this requires significant editing as the BOOL variable occurs in many locations across the code. ************ Recommended fix from a code building expert: "The fix is simple, search and replace BOOL in the entire source code with some other name." INSERT IBIS FILE DEMONSTRATING THE BUG: This is an annoyance for programmers, not a bug triggered by particular IBIS input. ****************************************************************************** ******************** BELOW FOR ADMINISTRATION AND TRACKING ******************* ****************************************************************************** BUG NUMBER: 247 SEVERITY: [FATAL, SEVERE, MODERATE, ANNOYING, ENHANCEMENT] [ENHANCEMENT] PRIORITY: [HIGH, MEDIUM, LOW] [LOW] STATUS: [OPEN, CLOSED, WILL NOT FIX, NOT A BUG] [OPEN] FIXED VERSION: FIXED DATE: NOTES ON BUG FIX: Introduced to the IBIS Open Forum on March 29, 2024. ****************************************************************************** ******************************************************************************