Opened 13 years ago

Closed 12 years ago

#3812 closed Bugs (fixed)

global namespace polution

Reported by: John Maddock Owned by: Anthony Williams
Milestone: Boost 1.42.0 Component: thread
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.Thread has a number of extern "C" symbols:

at_thread_exit on_process_exit on_process_enter on_thread_enter on_thread_exit

Which should presumably be renamed to have boost-specific names, maybe "boost_thread_at_thread_exit" etc?

Change History (1)

comment:1 by Anthony Williams, 12 years ago

Resolution: fixed
Status: newclosed

Fixed on trunk

Note: See TracTickets for help on using tickets.