Boost logo

Boost Users :

Subject: Re: [Boost-users] Errors while trying to build boost::priority_queue
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-12-09 04:31:30


AMDG

On 12/08/2017 09:02 PM, Ram via Boost-users wrote:
>
> When I try to build "priority_queue_example.cpp" it get these warnings(and
> so errors) pointing to "priority_queue_example.h" on the line where my
> priority_queue is declared. The warnings are,
>

  You can just disable this warning (or don't compile
with warnings as errors). It's harmless in this
case.

>
> 1> priority_queue_example.cpp
> 1>c:\Projects\lib\boost\boost\heap\detail\stable_heap.hpp(102): error
> C2220: warning treated as error - no 'object' file generated
> 1>c:\Projects\lib\boost\boost\heap\detail\stable_heap.hpp(102): warning
> C4100: 'rhs' : unreferenced formal parameter
> <snip>
>

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