add warning about miscompilation for x86 on gcc

This commit is contained in:
dzaima 2022-10-08 14:41:22 +03:00
parent 7bda795365
commit 529d2abae4

View File

@ -7,6 +7,11 @@
#include "utils/time.h"
#include "utils/interrupt.h"
#if __GNUC__ && __i386__ && !__clang__
#warning "CBQN is known to miscompile on GCC for 32-bit x86 builds; using clang instead is suggested"
#endif
static B replPath;
static Scope* gsc;
static bool init = false;