Modify

Opened 11 years ago

Closed 11 years ago

#709 deleted Bugs (None)

extern symbol _tss_cleanup_implemented?

Reported by: zhaozg Owned by: glassfordm
Milestone: Component: threads
Version: None Severity:
Keywords: Cc:

Description

static compile and link threads modules in vc8.0, I 
get  LNK2019: extern _tss_cleanup_implemented void int 
__cdecl `anonymous namespace'::init_tss_data(void)" (?
init_tss_data@?A0xea3bb32a@@YAXXZ) be refrenced

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by zhaozg

Logged In: YES 
user_id=1572760

extern "C" void tss_cleanup_implemented(void)
{
	/*
	This function's sole purpose is to cause a link 
error in cases where
	automatic tss cleanup is not implemented by 
Boost.Threads as a
	reminder that user code is responsible for calling 
the necessary
	functions at the appropriate times (and for 
implementing an a
	tss_cleanup_implemented() function to eliminate the 
linker's
	missing symbol error).

	If Boost.Threads later implements automatic tss 
cleanup in cases
	where it currently doesn't (which is the plan), the 
duplicate
	symbol error will warn the user that their custom 
solution is no
	longer needed and can be removed.
	*/
}

comment:2 Changed 11 years ago by zhaozg

Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as deleted The owner will remain glassfordm.

Add Comment


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

 
Note: See TracTickets for help on using tickets.