Opened 14 years ago

Closed 14 years ago

#1957 closed Support Requests (fixed)

Compile error of Thread library with MipsPro 7.41

Reported by: Blake Richardson <barichards21@…> Owned by: Anthony Williams
Milestone: Boost 1.36.0 Component: thread
Version: Boost 1.35.0 Severity: Showstopper
Keywords: Cc:

Description

Running "make all" after running "/configure --with-libraries=thread" generates this compile error:

cc-3318 CC: ERROR File = ./boost/thread/pthread/thread.hpp, Line 208

A partial specialization of a member class template must be declared in the

class of which it is a member.

struct thread::thread_data<boost::reference_wrapper<F> >:

The MipsPro compiler does support partial specialization but I believe some extra initial declaration must be included.

Change History (1)

comment:1 by Anthony Williams, 14 years ago

Resolution: fixed
Status: newclosed

I've extracted thread_data to a non-member type, so this should now work on trunk.

Note: See TracTickets for help on using tickets.