Opened 13 years ago

Closed 12 years ago

Last modified 7 years ago

#3811 closed Bugs (fixed)

global namespace polution

Reported by: John Maddock Owned by: Gennadiy Rozental
Milestone: Boost 1.59.0 Component: test
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

As noted in this thread: http://lists.boost.org/Archives/boost/2010/01/160448.php all global symbols whether macros or extern "C" functions should start with a "boost_" prefix - both to avoid polluting the global namespace as far as is possible, and to make boost-related symbols readily identifiable and searchable.

Boost.Test has the global symbol "execution_monitor_jumping_signal_handler" which should probably be "boost_execution_monitor_jumping_signal_handler", likewise for "execution_monitor_attaching_signal_handler".

Change History (3)

comment:1 by Steven Watanabe, 12 years ago

Note that these functions are static and are quite mangled already, so the chances of an error as a result of this are slim to none.

comment:2 by Steven Watanabe, 12 years ago

Resolution: fixed
Status: newclosed

(In [62782]) Add boost_ prefix to extern "C" functions. Fixes #3811

comment:3 by Raffi Enficiaud, 7 years ago

Milestone: Boost 1.42.0Boost 1.59.0
Note: See TracTickets for help on using tickets.