Skip to content

Plain C headers (SDL GL, Vulkan) classified as Objective-C #4546

Closed

Description

@squid-protocol

Problem

Plain C headers are classified as Objective-C, so the language mix is wrong.

Evidence

doomretro SDL2-2.32.10/include/SDL_opengl_glext.h (12,354 LOC) and other SDL headers, plus gzdoom libraries/ZVulkan/include/vulkan/vulkan_core.h (15,605 LOC), are detected as Objective-C. As a result, 16.5% of Doom Retro's coding LOC shows as Objective-C (languages.csv).

Acceptance criteria

  • A .h file is Objective-C only on real ObjC evidence (@interface, @implementation, @property, #import <Foundation/…>, NS* types). Otherwise it is C, or C++ when C++ evidence is present.
  • Tests with the two headers above (or minimal reproductions); golden drift attributed.

Evidence: /srv/storage_16tb/projects/gitgalaxy/doom-study/ (gitgalaxy_issues.md; scans at engine a8510fc). Found by the Doom source-port study (2026-10-06): https://claude.ai/code/artifact/bc877518-b326-4889-9d15-d99287f4f3fc

🤖 Generated with Claude Code

Activity

  1. added
    bug
    core-engine
    on Oct 6, 2026
  2. squid-protocol commented on Oct 12, 2026

    @squid-protocol
    OwnerAuthor

    Class sweep from PR #4970 (collision extensions without positive evidence). Sibling gaps filed: #4973 (.inc PHP), #4974 (.inc Fortran), #4975 (.mac Easytrieve). Recorded as by-design/unproven, not filed: plain SQL beside COBOL -> db2_sql (#2511 gravity), x86 .asm beside COBOL/JCL -> hlasm (#2503 gravity), .cshtml Razor (ambiguous).

  3. added a commit that references this issue on Oct 12, 2026
    533cada
  4. added
    scope:frontier
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcore-enginedata-qualitypriority: mediumscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions