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)
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 follow-up: 4 Changed 15 years ago by mf2k (Frank Schima)
comment:4 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: | new → assigned |
comment:6 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
r60090. Thanks!
Note: See
TracTickets for help on using
tickets.
Have you tested this change in 10.5.x?