Opened 15 years ago

Closed 15 years ago

#22324 closed defect (fixed)

boost-build: GCC 4.2 and higher does not have -Wno-long-double (compile error)

Reported by: markdigital69@… Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: haspatch Cc: sducharme@…, mf2k (Frank Schima)
Port: boost-build

Description (last modified by mf2k (Frank Schima))

The current version of boost-build (2.0-m12) will add -Wno-long-double to the darwin toolset but with GCC 4.2 this is not supported. In the future version m13 this is fixed but it might be a while before it gets released and in this state it is unusable on 10.6. I took the part from version m13 (as of revision r51326) that fixes the issue and added it to the existing patch.

Attachments (2)

Portfile.diff (336 bytes) - added by markdigital69@… 15 years ago.
patch-tools-darwin.jam.diff (1.4 KB) - added by markdigital69@… 15 years ago.

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by markdigital69@…

Attachment: Portfile.diff added

Changed 15 years ago by markdigital69@…

Attachment: patch-tools-darwin.jam.diff added

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: haspatch added; boost-build patch removed

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Have you tested this change in 10.5.x?

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:4 in reply to:  2 Changed 15 years ago by malaperle@…

Replying to macsforever2000@…:

Have you tested this change in 10.5.x?

No, I don't have 10.5 right now. But it shouldn't be a problem, the flag is still added for GCC 4.0.

if $(gccversion) < "4.2.0" 
{ 
   flags darwin.compile OPTIONS $(condition) : -Wno-long-double ; 
}

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to macsforever2000@…
Status: newassigned

comment:6 Changed 15 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

r60090. Thanks!

Note: See TracTickets for help on using tickets.