Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] [1.42]Don't understand warning with export
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-01-01 13:02:40


dada_at_[hidden] 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net