Files
mfc/mkdocs.yml
T
Claude 6b66cc3396 Build the core classes for 16-bit Windows
make TARGET=i8086-pc-win16 builds libmfc.a in the large model with the
core classes: CObject, CString, the collections, CFile, CArchive, CTime,
the exceptions and the memory diagnostics. This is the first step to
MFC 2.5 for 16-bit Windows.

- afx.h sets _AFX_WIN16 and STRICT there and includes afxwin16.h, which
  gives the Win32 types and declares the KERNEL32 functions that the
  core classes call. src/win16.cpp implements them over the C library
  and the 16-bit KERNEL.
- On Win16 the library defines all the global new and delete operators,
  as the OMF linker has no weak definitions.
- Casts of pointers to UINT_PTR become DWORD_PTR, which is as wide as a
  pointer on every target (UINT_PTR is 16 bits on Win16).
- CTimeSpan::GetDays no longer overflows a 16-bit int.
- tests/core.cpp checks CFileFind and CFile::GetStatus, and builds for
  Win16.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRTV4u8c9f3gQUmqvq
2026-11-24 05:23:14 +00:00

34 lines
1005 B
YAML

# The documentation site: https://clang-retro.github.io/mfc/
# Build it with `pip install -r .docs/requirements.txt` and `mkdocs serve`.
INHERIT: .docs/base.yml
site_name: clang-retro MFC
site_description: An independent implementation of the Microsoft Foundation Classes for clang and MinGW-w64
site_url: https://clang-retro.github.io/mfc/
repo_url: https://github.com/clang-retro/mfc
repo_name: clang-retro/mfc
edit_uri: ""
hooks:
- .docs/hooks.py
extra:
retro:
doxygen: .docs/Doxyfile
github: clang-retro/mfc
branch: main
pages:
README.md: index.md
CONTRIBUTING.md: contributing.md
nav:
- "Home": index.md
- "Building": building.md
- "Testing": testing.md
- "What is there": contents.md
- "Differences from Visual C++": differences.md
- "16-bit Windows": win16.md
- "Plans and layout": plans.md
- "Contributing": contributing.md
- "License": license.md
- API reference: api/index.html
- "All clang-retro projects": https://clang-retro.github.io/