codeblocks upgrade - error: variable length array of non-POD element type 'wxPoint'

AN andy at neu.net
Tue Mar 5 04:11:26 UTC 2013


FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #35 r246636: Sun Feb 10 
17:07:34 EST 2013     root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64

/bin/sh ../../../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H 
-I. -I../../../src/include 
-I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 
-I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-D__WXGTK__ -pthread -D_THREAD_SAFE  -I./include 
-I./src/scintilla/include  -I./src/scintilla/lexlib  -I./src/scintilla/src 
-DSCI_LEXER -DLINK_LEXERS -DGTK -D__WX__ -I/usr/local/include -Ulinux 
-Uunix  -O2 -ffast-math -DCB_AUTOCONF -O2 -pipe -fno-strict-aliasing 
-DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT LexBaan.lo -MD -MP 
-MF .deps/LexBaan.Tpo -c -o LexBaan.lo `test -f 
'src/scintilla/lexers/LexBaan.cxx' || echo 
'./'`src/scintilla/lexers/LexBaan.cxx
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../../src/include 
-I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 
-I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-D__WXGTK__ -pthread -D_THREAD_SAFE -I./include -I./src/scintilla/include 
-I./src/scintilla/lexlib -I./src/scintilla/src -DSCI_LEXER -DLINK_LEXERS 
-DGTK -D__WX__ -I/usr/local/include -Ulinux -Uunix -O2 -ffast-math 
-DCB_AUTOCONF -O2 -pipe -fno-strict-aliasing -DCB_PRECOMP -Winvalid-pch 
-fPIC -DPIC -fexceptions -MT LexBaan.lo -MD -MP -MF .deps/LexBaan.Tpo -c 
src/scintilla/lexers/LexBaan.cxx  -fPIC -DPIC -o .libs/LexBaan.o
src/PlatWX.cpp:304:19: error: variable length array of non-POD element 
type 'wxPoint'
     wxPoint points[npts];
                   ^
1 error generated.
*** [PlatWX.lo] Error code 1
mv -f .deps/LexBaan.Tpo .deps/LexBaan.Plo
mv -f .deps/LexAda.Tpo .deps/LexAda.Plo
mv -f .deps/LexAsm.Tpo .deps/LexAsm.Plo
mv -f .deps/ScintillaWX.Tpo .deps/ScintillaWX.Plo
mv -f .deps/wxscintilla.Tpo .deps/wxscintilla.Plo
1 error
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [do-build] Error code 1

Stop in /usr/ports/devel/codeblocks.





More information about the freebsd-ports mailing list