0027385: assertion in static initializer in a Windows GUI application
authorabv <abv@opencascade.com>
Thu, 14 Apr 2016 12:41:59 +0000 (15:41 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 15 Apr 2016 13:07:57 +0000 (16:07 +0300)
commit4680293609078c0ba598f3f2e11f0672a4447b94
tree4d55c3456e02c771bfecd4b40ad114d5a90188bb
parenta0bb29e79ef6d6c7d5847b45c8dce678f846ea8d
0027385: assertion in static initializer in a Windows GUI application

Useless global pointer to cerr is removed from OSD_Error, along with methods supporting its customization (Windows-only).
Global accessors to environment variables are replaced by locals in UnitsAPI.cxx.
src/OSD/OSD_Environment.cxx
src/OSD/OSD_Error.cxx
src/OSD/OSD_WNT.hxx
src/UnitsAPI/UnitsAPI.cxx