
Robert Ramey
dada@lamef.bordeaux.ensam.fr wrote:
Happy new year !
Dear boost users,
I don' understand this warning (g++, boost v1.42): "export.hpp:129: warning: type qualifiers ignored on function return type" -------------------------- export.hpp -------------------------- template<class T> struct guid_initializer { ... (L.129) const void export_guid(mpl::true_) const { } ... }; -----------------------
This warning happens when i use the BOOST_CLASS_EXPORT macro. Any idea ? Thanks, Damien.
This is an innocuous coding error in export.hpp. The warning can be ignored and has since been removed.
Robert Ramey
Ok, thanks for your answer, could i safely replace the "const void" by "void" in export.hpp sources ? "const void export_guid(mpl::true_) const" become " void export_guid(mpl::true_) const"