Re: MSVC C4251
John Moeller <[email protected]>
| Newsgroups | gmane.comp.lib.boost.langbinding |
|---|---|
| Message-ID | <[email protected]> |
John Moeller wrote: > I'm leaning toward this conclusion as well, and thinking of one of the > following solutions: > > 1. Make certain that you're linking against a langbinding dll compiled > by the same implementation as the client binary (i.e., just disable the > warning) > 2. Move the vector out of the exported class and behind a pImpl; offer > an interface for the private data > 3. Don't support a shared langbinding; let the specific binding link to > langbinding statically and offer its own interface > > Personally, (1) makes me nervous, given what you mentioned about other > implementations adhering to MSVC's decoration standard. (2) would > probably be the most general solution. > http://www.boost.org/more/separate_compilation.html Bah. Should have read that before posting. Looks like the policy is to just disable the warning. Sorry for the trouble. -- 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/