acimpoeru / google-glog

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

class 'google::base_logging::LogStreamBuf' needs to have dll-interface #148

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile a project which uses glog

What is the expected output? What do you see instead?
There should be no warnings.

What version of the product are you using? On what operating system?
0.3.3 MSVC 2012 x64 Release Build

Please provide any additional information below.
glog/logging.h(1158): warning C4251: 
'google::LogMessage::LogStream::streambuf_' : class 
'google::base_logging::LogStreamBuf' needs to have dll-interface to be used by 
clients of class 'google::LogMessage::LogStream'

You need to add GOOGLE_GLOG_DLL_DECL to the LogStreamBuf class definition. See 
patch attached.

Original issue reported on code.google.com by kolesnic...@gmail.com on 18 Feb 2013 at 12:17

Attachments: