MSVC C4251

John Moeller <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Message-ID <[email protected]>
After finally writing a Jamfile.v2 that works, I get a C4251 warning 
when the DLLs build, because backend::call_xxx_data has a std::vector of 
boost::shared_ptr<void>.  I had implemented a tweak for MSVC that 
enabled the exportation of std::vector<boost::shared_ptr<void> > (and 
the corresponding allocator).

I thought about it though, and it would only be useful if symbols were 
decorated the same way in both the exporting DLL and the importing 
binary.  Aren't symbol decorations implementation-specific?

If so, I should probably just disable C4251, rather than exporting the 
vector and allocator specializations.  Or should I leave the export 
tweak in there?

-- 

John Moeller
[email protected]


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.