kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43067
Re: Strokefont change from std::deque to std::vector
On 12/3/19 9:46 AM, Jeff Young wrote:
OK, my stuff is pushed....
On 3 Dec 2019, at 17:44, Jeff Young <jeff@xxxxxxxxx
<mailto:jeff@xxxxxxxxx>> wrote:
He he… I had sort of the same idea, only I’m building it lazily at
runtime. But I think your idea would be even better.
Since I’ve already made the changes to have STROKE_FONT use const
pointers to the data structures, let me merge in first and then you
can move it to compile-time.
Cheers,
Jeff.
Hi Jeff-
So... This might take a bit more time. Just creating the vector at
compile time crashes g++. :)
[2/551] Building CXX object common/CMakeFiles/gal.dir/gal/stroke_font.cpp.o
FAILED: common/CMakeFiles/gal.dir/gal/stroke_font.cpp.o
/usr/bin/c++ -DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H
-DKICAD_CONFIG_DIR=kicad_v6 -DKICAD_SCRIPTING
-DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SCRIPTING_MODULES
-DKICAD_SCRIPTING_PYTHON3 -DKICAD_SCRIPTING_WXPYTHON
-DKICAD_SCRIPTING_WXPYTHON_PHOENIX -DKICAD_SPICE -DKICAD_STDLIB_DEBUG
-DKICAD_USE_OCE -DKICAD_USE_VALGRIND -DWXUSINGDLL -DWX_COMPATIBILITY
-D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I../../include -I../../common/.
-I../../common/./dialogs -I../../common/./widgets
-I../../common/./dialog_about -I/usr/include/cairo
-I/usr/local/include/pixman-1 -I/usr/include/x86_64-linux-gnu
-I../../common/../3d-viewer -I../../common/../pcbnew -I.
-I/usr/include/python3.7m -I../../scripting
-I/usr/lib/x86_64-linux-gnu/oce-0.17/../../../include/oce
-I../../polygon/include -I../../bitmaps_png/include -isystem
/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -isystem
/usr/include/wx-3.0 -Wall -Wsuggest-override -Werror=vla -pthread
-Wshadow -g3 -ggdb3 -DDEBUG -Wno-deprecated-declarations
-D_GLIBCXX_DEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
-std=gnu++14 -MD -MT common/CMakeFiles/gal.dir/gal/stroke_font.cpp.o -MF
common/CMakeFiles/gal.dir/gal/stroke_font.cpp.o.d -o
common/CMakeFiles/gal.dir/gal/stroke_font.cpp.o -c
../../common/gal/stroke_font.cpp
c++: internal compiler error: Segmentation fault signal terminated
program cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
-S
--
KiCad Services Corporation KiCad Services Corporation Logo
Seth Hillbrand
*Lead Developer*
+1-530-302-5483 <tel:+12126039372>
Davis, CA
www.kipro-pcb.com <https://www.kipro-pcb.com/> info@xxxxxxxxxxxxx
<mailto:info@xxxxxxxxxxxxx>
https://twitter.com/KiProEDA <https://twitter.com/KiProEDA>
https://www.linkedin.com/company/kicad
<https://www.linkedin.com/company/kicad>
References