Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#35072 closed defect (fixed)

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: cooljeanius (Eric Gallager)
Port: codeblocks

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

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

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 Changed 12 years ago by jmroot (Joshua Root)

Could you provide a log showing the build failure please?

comment:3 in reply to:  2 Changed 12 years 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 11 years ago by afb@…

Resolution: fixed
Status: newclosed

Fixed, r100023.

comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

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 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.