[MacPorts] #40386: codeblocks: allow compilation with clang

MacPorts noreply at macports.org
Thu Sep 5 01:50:57 PDT 2013


#40386: codeblocks: allow compilation with clang
-------------------------+-------------------
  Reporter:  mojca@…     |      Owner:  afb@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  codeblocks  |
-------------------------+-------------------

Comment (by mojca@…):

 Next error:
 {{{
 libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../../../../src/include
 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/lib/wx/include/gtk2
 -unicode-release-2.8
 -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/include/wx-2.8
 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__
 -I../../../../src/include -I../../../../src/sdk/wxscintilla/include
 -I/opt/local/include -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -pipe
 -Os -arch x86_64 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT
 cbprofilerconfig.lo -MD -MP -MF .deps/cbprofilerconfig.Tpo -c
 cbprofilerconfig.cpp  -fno-common -DPIC -o .libs/cbprofilerconfig.o
 cbprofiler.cpp:104:25: error: variable length array of non-POD element
 type 'wxString'
         wxString choices[project->GetBuildTargetsCount()];
                         ^
 1 error generated.
 make[5]: *** [cbprofiler.lo] Error 1
 }}}
 most probably requires a similar patch as the first one.

-- 
Ticket URL: <https://trac.macports.org/ticket/40386#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list