From 83c5d8ecbf019a4f3cea6874566a5631764d3d9b Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 14 Oct 2026 09:21:29 +0000 Subject: build(toolchain)!: require LLVM and Clang 23 Reject other compiler and LLVM major versions and remove GCC compiler fallbacks. Adapt string globals, block termination checks and the embedded target triple to LLVM 23 without changing pseudocode behavior. Co-Authored-By: Claude Fable 5.1 --- lib/CodeGen/FileHandler.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/CodeGen/FileHandler.cc') diff --git a/lib/CodeGen/FileHandler.cc b/lib/CodeGen/FileHandler.cc index 66a7606..f2e7824 100644 --- a/lib/CodeGen/FileHandler.cc +++ b/lib/CodeGen/FileHandler.cc @@ -55,9 +55,9 @@ void FileHandler::setupGlobals() { // Text mode on purpose (no "b"): on Windows the CRT translates CRLF<->LF, // which is exactly what line-oriented READFILE/WRITEFILE want. - ModeReadStr = Builder.CreateGlobalStringPtr("r", "file_mode_r", 0, &Module); - ModeWriteStr = Builder.CreateGlobalStringPtr("w", "file_mode_w", 0, &Module); - ModeAppendStr = Builder.CreateGlobalStringPtr("a", "file_mode_a", 0, &Module); + ModeReadStr = Builder.CreateGlobalString("r", "file_mode_r", 0, &Module); + ModeWriteStr = Builder.CreateGlobalString("w", "file_mode_w", 0, &Module); + ModeAppendStr = Builder.CreateGlobalString("a", "file_mode_a", 0, &Module); } void FileHandler::ensureRuntime() { -- cgit v1.3.1-4-g156e