It does make more sense. But that can be done in code: ie: in vs_globals.h
or some other header that's always included before anything else. And it
can still be done in the solution file just in case.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
vega-vc9 nominmax
Looks good here, but I have no windows setup so I can't confirm.
Can someone else please confirm and apply?
vegastrike source nominmax
I've uploaded the accompanying vegastrike nominmax patch, which removes nominmax defines from source.
Both patches are rather trivial, please review/apply.
Why would you remove them from source? It will only make life harder on those trying to build a new solution from scratch.
Well, if you prefer to put NOMINMAX checks all over the place to deal with this msvc specific issue...
From my point of view it makes more sense to define it globally once.
It does make more sense. But that can be done in code: ie: in vs_globals.h
or some other header that's always included before anything else. And it
can still be done in the solution file just in case.
OK. I think you can close/reject this one then.
Why?
It would be nice if you could come up with a patch to vs_globals or some other global vs header that can let us stop using mymin/mymax.