-
Notifications
You must be signed in to change notification settings - Fork 174
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
Fix:core:Fix item_def.h when used whithout defined macros (like in IDE) #771
Conversation
Much needed indeed (this has been bothering me as well for some time :-) The only doubt I have is related to this comment:
Does that still reflect the current status? If yes, we’d need to make sure the extra declarations survive an update. If not, the comment should be removed. |
I think this is not up to date. At least we don't do this automatically. There is a script for that but I don't even know if it is functional. So my opinion would be to remove the comment |
…ix_for_not_found
I am generally not convinced that generating a source file from a wiki page is such a great idea. However, I would suggest doing a test run of the script to see if it runs at all.
With that I would give my approval. If we end up removing the script, we might consider updating the wiki from the source file—but that doesn’t have to go in this pull request. BTW, Eclipse equally nags about stuff in |
100% onboard with @mvglasow 's approach. |
The Script is functional and works but the wiki is outdated. So remove Script and edit wiki to say that item_defs are now handled in the item_def.h file? Currently the state of the Wiki would breake things as Items would be added what would change places.
|
Sounds good to me—and remove the comment in |
I will do this in another pr where I also remove the script |
Hi,
always when in a IDE like Eclipse i head the problem that all attr_* definitions where not found by the IDE and therefore where marked as error, so my approach now is to declare them as extern so the IDE does not get annoyed by this. This also fixes auto competition.