October 20, 2022 [Issue 23430] New: ImportC include <> didn't work but quotes does | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23430 Issue ID: 23430 Summary: ImportC include <> didn't work but quotes does Product: D Version: D2 Hardware: All OS: Mac OS X Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: alphaglosined@gmail.com Filing on behalf: Parser generated by tree-sitter project (D grammar). ``` parser.c:1:10: error: 'tree_sitter/parser.h' file not found with <angled> include; use "quotes" instead #include <tree_sitter/parser.h> ^~~~~~~~~~~~~~~~~~~~~~ "tree_sitter/parser.h" ``` dmd v2.101.0-beta ``dmd p.d -main`` ``` module p; import parser; ``` Directory structure: ``` scanner.c tree_sitter/parser.h parser.c p.d ``` It does compile and link when switch to quotes instead of the brackets. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply