Am Samstag, 28. April 2012, 10:16:13 schrieb Thomas Faber:
Apparently NAN and INFINITE are C99 as well (I should really get a version of the old standard instead of mostly reading C99 :|).
How about a simple const variable that will trick MSVC, while not changing semantics.
How about a function in libs/port or a macro in one of its headers? I believe the NAN/INFINITE issue is not specific to wined3d.
With the const variable, msvc compiles the code, but still produces a warning.