From 8754a17536aa70e1e4ed3b9f8e9d03727ef2c3ef Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 15:50:33 +0000 Subject: docs(agents): note Windows JIT msvcrt symbol lookup for EXTERN Co-Authored-By: Claude Opus 5.5 --- AGENTS/PITFALLS.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'AGENTS/PITFALLS.md') diff --git a/AGENTS/PITFALLS.md b/AGENTS/PITFALLS.md index e7047cf..3198852 100644 --- a/AGENTS/PITFALLS.md +++ b/AGENTS/PITFALLS.md @@ -153,6 +153,8 @@ test programs. Only `.o` user objects; INCLUDE_OBJ is global across inputs. `-S` does not link them. Identical EXTERN redeclarations (same or other files, CIdentity-equal types) are allowed; differing ones fail. Two EXTERNs differing only in case conflict (pseudocode names are case insensitive). + Windows `-r` resolves C symbols from msvcrt.dll before the process-wide search: ucrtbase.dll + may also be loaded, and its separate stdout buffer reorders EXTERN output against OUTPUT. ## Not implemented (9618 features) -- cgit v1.3.1-4-g156e