Boost logo

Boost Users :

Subject: Re: [Boost-users] Flood of messages when building with boost_serialization
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-04 21:33:57


AMDG

On 03/04/2015 06:59 PM, Tony Camuso wrote:
> <snip>
>
> However, when I build it from Qt, I get the following compiler output.
> I understand the "unused parameter" message, as I'm not using versioning
> in my serialization implementation.
>
> I haven't tried executing the serialization code, yet, but I wonder if it
> will even execute properly, given the nature of the messages. The rest of
> the code executes fine.
>

The warning is harmless. Just comment out the
parameter name to suppress it. The rest of the
message is part of the same warning. It's just
the template instantiation stack.

> The serialization code is very simple and follows the messages.
>
>
> 20:38:17: Starting: "/usr/bin/make" kabi-serial.o
> g++ -c -pipe -g -Wall -W -fPIE
> -I/home/tcamuso/Qt5.3.2/5.3/gcc_64/mkspecs/linux-g++ -I../../kabi
> -I../src/sparse -I../src/sparse -I. -o kabi-serial.o ../src/kabi-serial.cpp
> In file included from ../src/kabi-serial.cpp:14:0:
> <snip>
> ../src/kabi-serial.cpp:42:9: required from here
> ../src/kabi-serial.h:54:50: warning: unused parameter 'version'
> [-Wunused-parameter]
> void serialize(Archive & ar, const unsigned int version)
>

In Christ,
Steven Watanabe


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