
Hi Robert ! On Thursday, 20. May 2010 21:20:58 you wrote:
Here's a notable distinction between GCC's visibility attribute and MSVC's __declspec: The latter is accepted on forward declarations while the latter produces a warning[*] and is otherwise ignored. That is, for portability, BOOST_SYMBOL_EXPORT must be applied to a UDT definition and not to a declaration.
* foo.hpp:n: warning: type attributes are honored only at type definition
Yes, this is a known issue. My patch removes the macros from some declarations. msvc seems to work without them anyway. Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !