New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35072 (closed defect: fixed)

Opened 11 months ago

Last modified 4 months ago

codeblocks fails with clang, works with llvm-gcc-4.2

Reported by: dhuffkc@… Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: clang Cc: egall@…
Port: codeblocks

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

I had to install codeblocks with:

sudo port install foo configure.compiler=llvm-gcc-4.2

due to a compile error using default clang compiler. I have XCode 4.3.3 and XCode 4.5 (preview) installed.

Should this be fixed in the port or in the original project?

Thanks,

Don

Change History

comment:1 Changed 11 months ago by ryandesign@…

  • Keywords gcc codeblocks compiler removed
  • Owner changed from macports-tickets@… to afb@…
  • Description modified (diff)

Both. We should work around it in the port (by using llvm-gcc-4.2 instead of clang, if we cannot find a better solution), and upstream should provide a permanent fix (by making it compatible with clang).

comment:2 follow-up: ↓ 3 Changed 9 months ago by jmr@…

Could you provide a log showing the build failure please?

comment:3 in reply to: ↑ 2 Changed 8 months ago by dhuffkc@…

Replying to jmr@…:

Could you provide a log showing the build failure please?

I am now having problems with wxWidgets on Mountain Lion due to dependencies on Carbon, so I cannot build. I'm not sure how I got it to build to begin with...maybe had wxWidgets already built before upgrading to Mountain Lion?

Sorry,

Don

comment:4 Changed 6 months ago by afb@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed, r100023.

comment:5 Changed 4 months ago by jeremyhu@…

Did you file a bug with upstream to actually fix the problem? Please file the issue with upstream and update the Portfile with a comment pointing to the upstream report.

comment:6 Changed 4 months ago by egall@…

  • Cc egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.