Modify

Opened 5 years ago

Closed 4 years ago

#7802 closed Patches (fixed)

[geometry] cart_intersect.hpp unused parameter warnings

Reported by: ATHundt@… Owned by: Barend Gehrels
Milestone: Boost 1.54.0 Component: geometry
Version: Boost 1.52.0 Severity: Cosmetic
Keywords: Cc:

Description

When building software that uses boost.geometry for cart_intersect I get the following warning: /boost/geometry/strategies/cartesian/cart_intersect.hpp:406: warning: unused parameter ‘a’ /boost/geometry/strategies/cartesian/cart_intersect.hpp:406: warning: unused parameter ‘b’

It would be appreciated if these warnings could be resolved.

Attachments (1)

cart_intersect_warning.patch (1.2 KB) - added by Andrew Hundt <ATHundt@…> 5 years ago.
patch to fix cart_intersect_warning, presuming the warning is not due to a bug in the function implementation

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by Andrew Hundt <ATHundt@…>

patch to fix cart_intersect_warning, presuming the warning is not due to a bug in the function implementation

comment:1 Changed 4 years ago by Barend Gehrels

Type: BugsPatches

comment:2 Changed 4 years ago by Barend Gehrels

Milestone: To Be DeterminedBoost 1.54.0
Resolution: fixed
Status: newclosed

That piece of code was actually not used, it is commented now. To be decided. More (similar) warnings are silenced.

Thanks for the patch, sorry it take longer to apply it.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Barend Gehrels.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.