#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@… |
comment:2 follow-up: 3 Changed 12 years ago by jmroot (Joshua Root)
Could you provide a log showing the build failure please?
comment:3 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:5 Changed 12 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.
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).