Skip to content

Add option to specify which macros to ignore#262

Open
cbecerescu wants to merge 1 commit into
atilaneves:masterfrom
cbecerescu:selective-macros
Open

Add option to specify which macros to ignore#262
cbecerescu wants to merge 1 commit into
atilaneves:masterfrom
cbecerescu:selective-macros

Conversation

@cbecerescu

Copy link
Copy Markdown
Contributor

E.g. in include/linux/kernel.h, there are macro definitions for max and min, which conflict with dlang's own max and min functions present in the .dpp file. In this case, I use d++ with --ignore-specified-macros "min,max"

@atilaneves

Copy link
Copy Markdown
Owner

Does --ignore-cursor not work already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants