Hello, when I build /libs/thread/examples/thread.cpp, I got warning C4275. I think it is because std::logic_error is not defined as dllexport/dllimport. Can anyone tell me how to correct this? TIA.
yxh wrote:
Hello, when I build /libs/thread/examples/thread.cpp, I got warning C4275. I think it is because std::logic_error is not defined as dllexport/dllimport. Can anyone tell me how to correct this?
Ignore the warning. VC++ doesn't realize that their own standard library exceptions classes are being mentioned. I get this all the time also with standard exception classes in VC++ from which I derive my own exceptions which I import/export.
Thank you!
"Edward Diener"
yxh wrote:
Hello, when I build /libs/thread/examples/thread.cpp, I got warning C4275. I think it is because std::logic_error is not defined as dllexport/dllimport. Can anyone tell me how to correct this?
Ignore the warning. VC++ doesn't realize that their own standard library exceptions classes are being mentioned. I get this all the time also with standard exception classes in VC++ from which I derive my own exceptions which I import/export.
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
participants (2)
-
Edward Diener
-
yxh