gitfredy / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

Produce warning W4244 in VC++ #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
C++ version (Visual Studio 2010):
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 
80x86

Output:
logging.h(615): warning C4244: 'argument' : conversion from 'std::streamsize' 
to 'unsigned int', possible loss of data
          logging.h(637) : see reference to function template instantiation 'std::string *google::MakeCheckOpString<t1,t2>(const t1 &,const t2 &,const char *)' being compiled
          with
          [
              t1=int,
              t2=int
          ]
          logging.h(637) : see reference to function template instantiation 'std::string *google::Check_EQImpl<int,int>(const t1 &,const t2 &,const char *)' being compiled
          with
          [
              t1=int,
              t2=int
          ]

Original issue reported on code.google.com by neoo...@gmail.com on 30 Jul 2011 at 5:48

GoogleCodeExporter commented 9 years ago
Simple fix in attach. Thanks.

Original comment by neoo...@gmail.com on 30 Jul 2011 at 6:46

Attachments: