Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header files are parsed incorrectly as main files #10

Open
yvesdm3000 opened this issue Jun 17, 2016 · 0 comments
Open

Header files are parsed incorrectly as main files #10

yvesdm3000 opened this issue Jun 17, 2016 · 0 comments

Comments

@yvesdm3000
Copy link
Owner

Reported by I_inc at http://forums.codeblocks.org/index.php/topic,20623.msg144772.html#msg144772

Header files are often parsed incorrectly as main files in their own translation unit. Every file in a project has a property (Properties... -> Build -> Compile file) specifying whether it is a separate translation unit. This property could be a basis for the decision. Besides it would be nice to be able to quickly switch every such header between existing translation units, in which the header file is included, through a quickly accessible menu, because it's not uncommon to have (very) different parsing of the same header depending on the translation unit.

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

No branches or pull requests

1 participant