Opened 16 years ago
Closed 16 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
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Status: | assigned → closed |
|---|
Note:
See TracTickets
for help on using tickets.

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. */ }