www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - version() operates erratically between linux and Win32 compilers

Under Win32, a statement of the form "version=blah;" is effective across the
entire compile, rather than isolated to the containing module. Under linux,
the same statement is isolated to the module (or something like that).
Whilst this erratic behavior is infuriating at best, at least the linux
behavior is reasonable: version= should be constrained to the enclosing
module, and then be imported as necessary/required/appropriate.

The behavior under Win32 indicates version=blah is global to all modules
under the current compile. In my humble opinion, that blows large chundery
Jul 12 2004