Modify

Opened 7 years ago

Last modified 7 years ago

#5402 new Bugs

bind.hpp generates declared but never referenced warnings for placeholders with armcc

Reported by: anonymous Owned by: Peter Dimov
Milestone: To Be Determined Component: bind
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

generates spurious variable defined but never referenced under armcc (check for ARMCC_VERSION)

"../../boost/bind/placeholders.hpp", line 55: Warning: #177-D: variable "<unnamed>::_1" was declared but never referenced

boost::arg<1> _1;

"../../boost/bind/placeholders.hpp", line 56: Warning: #177-D: variable "<unnamed>::_2" was declared but never referenced

boost::arg<2> _2;

"../../boost/bind/placeholders.hpp", line 57: Warning: #177-D: variable "<unnamed>::_3" was declared but never referenced

boost::arg<3> _3;

"../../boost/bind/placeholders.hpp", line 58: Warning: #177-D: variable "<unnamed>::_4" was declared but never referenced

boost::arg<4> _4;

"../../boost/bind/placeholders.hpp", line 59: Warning: #177-D: variable "<unnamed>::_5" was declared but never referenced

boost::arg<5> _5;

"../../boost/bind/placeholders.hpp", line 60: Warning: #177-D: variable "<unnamed>::_6" was declared but never referenced

boost::arg<6> _6;

"../../boost/bind/placeholders.hpp", line 61: Warning: #177-D: variable "<unnamed>::_7" was declared but never referenced

boost::arg<7> _7;

"../../boost/bind/placeholders.hpp", line 62: Warning: #177-D: variable "<unnamed>::_8" was declared but never referenced

boost::arg<8> _8;

"../../boost/bind/placeholders.hpp", line 63: Warning: #177-D: variable "<unnamed>::_9" was declared but never referenced

boost::arg<9> _9;

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Steven Watanabe

Looks to me like the compiler is using the EDG front end? I'm not sure that that there's a good way to avoid this warning.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Peter Dimov.

Add Comment


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

 
Note: See TracTickets for help on using tickets.