[MacPorts] #35072: codeblocks fails with clang, works with llvm-gcc-4.2

MacPorts noreply at macports.org
Tue Jul 3 16:02:02 PDT 2012


#35072: codeblocks fails with clang, works with llvm-gcc-4.2
-------------------------------+--------------------------------------------
 Reporter:  dhuffkc@…          |       Owner:  afb@…           
     Type:  defect             |      Status:  new             
 Priority:  Normal             |   Milestone:                  
Component:  ports              |     Version:  2.1.1           
 Keywords:  clang              |        Port:  codeblocks      
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):

  * keywords:  gcc clang codeblocks compiler => clang
  * owner:  macports-tickets@… => afb@…


Old description:

> 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

New description:

 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

--

Comment:

 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).

-- 
Ticket URL: <https://trac.macports.org/ticket/35072#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list