Opened 13 years ago

Closed 13 years ago

#403 closed defect (fixed)

i686-apple-darwin8-g++-4.0.1: unrecognized option '-pthread'

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.5
Component: build Version: trunk
Keywords: Cc:

Description (last modified by Peter)

g++ on my Mac OS X 10.4 complains about unrecognized option '-pthread'. It is a CPPFLAG that comes from Boost. Have you guys seen this on your macs?

related to ticket:404

Change History (5)

comment:1 Changed 13 years ago by Peter

Description: modified (diff)

ticket:404 can perhaps help here

comment:2 Changed 13 years ago by Peter

Description: modified (diff)

comment:3 Changed 13 years ago by Peter

I tried using the macro mentioned in ticket:404 but nothing changed. I guess the macro is only sensitive for failure, not warnings.

comment:4 Changed 13 years ago by Peter

Status: newassigned

There is a ACX_PTHREAD that might help fixing this.

comment:5 Changed 13 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1391]) fixing #403 - unrecognized option '-pthread'. I picked a slimmer boost macro which dosn't include the entire package. Therefore -pthread is no longer included in BOOST_CPPFLAGS and issue is solved. Acctually not really solved since it will arise again the day we choose to use the threads.

Note: See TracTickets for help on using tickets.