Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 29, 2006 Is this a bug? | ||||
---|---|---|---|---|
| ||||
I have try use pantheios in my project,which use msvc8. There are some strange errors when compile file that include "pantheios.hpp" at the line use "std::min" , finally i find it is because there is a Macro min,max defined in "windows.h" ,oh,so stupid! I have to add a "NOMINMAX" to solve the problem. the other problem is about UNICODE, my project have defined use UNICODE, there is function in ..../time.hpp, c_ptr_str(t,bool) , cann't find a conversion to char, because there only exist a wchar version. When i undefine UNICODE,all is right. is it a bug? |
October 29, 2006 Re: [Pantheios] Is this a bug? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Wang | "David Wang" <ww@jzinfo.com> wrote in message news:ei1cls$oub$1@digitaldaemon.com... > I have try use pantheios in my project,which use msvc8. > There are some strange errors when compile > file that include "pantheios.hpp" at the line use "std::min" , finally i > find it is because there is a Macro min,max defined in "windows.h" ,oh,so > stupid! I have to add a "NOMINMAX" to solve the problem. Can you let me know what file/line this is in, and I may be able to track it down and eliminate it so that you don't need to #define NOMINMAX? Maybe ... > the other problem is about UNICODE, my project have defined use UNICODE, > there is function in ..../time.hpp, c_ptr_str(t,bool) , cann't find a > conversion to > char, because there only exist a wchar version. When i undefine UNICODE,all > is right. is it a bug? Could well be. Can you give me file/line? I'll try it myself with a UNICODE project in VC8 while I await your feedback. Matthew |
October 29, 2006 Re: [Pantheios] Is this a bug? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | > > the other problem is about UNICODE, my project have defined use UNICODE, > > there is function in ..../time.hpp, c_ptr_str(t,bool) , cann't find a > > conversion to > > char, because there only exist a wchar version. When i undefine > UNICODE,all > > is right. is it a bug? > > Could well be. Can you give me file/line? I'll try it myself with a UNICODE > project in VC8 while I await your feedback. I found it. Thanks! I'll release a new STLSoft beta shortly. |
Copyright © 1999-2021 by the D Language Foundation