Skip to content

Cannot compile using 1.11 compiler: #file directive was removed. #124

Open
@Hexer10

Description

@Hexer10

Compiling any file with the sourcemod 1.11 compiler results in this error:

[7/1/2022 1:39:13 AM] User opened a new file: c:\users\matt\documents\test.sp
[7/1/2022 1:39:15 AM] Compiling source started!
[7/1/2022 1:39:15 AM]     SourcePawn Compiler 1.11.0.6905
[7/1/2022 1:39:15 AM]     Copyright (c) 1997-2006 ITB CompuPhase
[7/1/2022 1:39:15 AM]     Copyright (c) 2004-2021 AlliedModders LLC
[7/1/2022 1:39:15 AM]     
[7/1/2022 1:39:15 AM]     C:\users\matt\Temp\a5xutjtp.src(1) : error 031: unknown directive
[7/1/2022 1:39:15 AM]     
[7/1/2022 1:39:15 AM]     1 Error.
[7/1/2022 1:39:15 AM]     
[7/1/2022 1:39:15 AM] Compiling failed! Compiled output file can not be found!

Since alliedmodders/sourcepawn@451dcb6 the #file directive was removed from the 1.11 compiler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions