digitalmars.D.bugs - version() operates erratically between linux and Win32 compilers
- Kris (9/9) Jul 12 2004 Under Win32, a statement of the form "version=blah;" is effective across...
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 bits
Jul 12 2004