Skip to content

#include don't find normal file name (more than 7 chars) #11

@europrimus

Description

@europrimus

Hello,
I'm new to nqc and I try use #include.

And i find it don't work with "normal" file name (more than 7 chars).

#include "lib.nqh"     // work
#include "lib12.h"     // work
#include "lib1.nqh"    // Error: could not open file lib1.nqh

I'm under Linux Manjaro and I use nqc version 4.1.0 (built Oct 6 2025, 08:34:47)

I don't find any reference to this limitation in the doc and in the Omni example there is an include of a file name with 12 chars.

Is there some think I miss understand or is it a bug ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions