New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22324 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: markdigital69@… Owned by: macsforever2000@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: haspatch Cc: sducharme@…, macsforever2000@…
Port: boost-build

Description (last modified by macsforever2000@…) (diff)

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

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

Change History

Changed 2 years ago by markdigital69@…

Changed 2 years ago by markdigital69@…

  Changed 2 years ago by macsforever2000@…

  • keywords haspatch added; boost-build, patch removed
  • description modified (diff)

follow-up: ↓ 4   Changed 2 years ago by macsforever2000@…

Have you tested this change in 10.5.x?

  Changed 2 years ago by macsforever2000@…

  • cc macsforever2000@… added

Cc Me!

in reply to: ↑ 2   Changed 2 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 ; 
}

  Changed 2 years ago by macsforever2000@…

  • status changed from new to assigned
  • owner changed from macports-tickets@… to macsforever2000@…

  Changed 2 years ago by macsforever2000@…

  • status changed from assigned to closed
  • resolution set to fixed

r60090. Thanks!

Note: See TracTickets for help on using tickets.