Commit graph

4 commits

Author SHA1 Message Date
Christophe de Dinechin
f6cd08792e Find includes two level up (necessary e.g. for target.h)
When we are deeper inside the project, need to go higher up.
I hope there is a better way to do that, but I did not have time to find it.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-06-20 18:47:55 +02:00
Christophe de Dinechin
f3f0650c4f Add -D__packed to avoid warnings in dmcp.h
When compiling with host compiler, the __packed keyword is not recognized.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-06-20 15:23:43 +02:00
Christophe de Dinechin
2760ad67c7 Add _WCHAR_T_DEFINED for bid_functions.h
Otherwise, this file tries the following, with errors out on all includding
files:

    typedef int wchar_t;

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-06-20 15:23:43 +02:00
Christophe de Dinechin
72f0b9f297 Add .clandg for project with required paths
This is useful for the C/C++ language server to find definitions.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-06-20 15:23:43 +02:00