You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
This should be included in each file that uses CONTAINS since it's only used in a few places and you shouldn't bloat a basic header like this so much for one macro. Also, see 27eed13#commitcomment-14018111 .
The reason will be displayed to describe this comment to others. Learn more.
Agreed, I guess including here is fine as a temporary fix so the master branch compiles, but it does need to be fixed the right way. What platform does it not compile under, exactly?
The reason will be displayed to describe this comment to others. Learn more.
@kwolekr I don't insist on this being solved this way. I would prefer this to stay like this, since it looks cleaner to me, but if compile time is more important to you then I won't object changing it.
As far as I have seen it didn't compile on any platform.
c406438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, PilzAdam!
c406438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be included in each file that uses
CONTAINS
since it's only used in a few places and you shouldn't bloat a basic header like this so much for one macro. Also, see 27eed13#commitcomment-14018111 .c406438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ShadowNinja I don't care whether its this way or that way, but it should build.
c406438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@est31: Of course...
c406438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, I guess including here is fine as a temporary fix so the master branch compiles, but it does need to be fixed the right way. What platform does it not compile under, exactly?
c406438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think both ways are "right". One is just more prefferable as it spares includes in some files.
c406438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kwolekr I don't insist on this being solved this way. I would prefer this to stay like this, since it looks cleaner to me, but if compile time is more important to you then I won't object changing it.
As far as I have seen it didn't compile on any platform.
c406438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't have pushed this if it failed to compile. It worked for me and it even compiled on all the platforms tested by Travis/Jenkins.
c406438
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kwolekr this is the build for the commit in question: https://travis-ci.org/minetest/minetest/builds/87610357
Note that all builds failed.