Created
March 6, 2013 20:29
-
-
Save arthurwolf/5102769 to your computer and use it in GitHub Desktop.
ExtruderFix compile error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling libs/ChaNFS/FATFileHandle.cpp | |
Compiling libs/ChaNFS/FATFileSystem.cpp | |
Compiling libs/ConfigSources/FileConfigSource.cpp | |
Compiling libs/USBDevice/DFU.cpp | |
Compiling libs/USBDevice/USB.cpp | |
libs/USBDevice/USB.cpp: In member function 'int USB::addString(const void*)': | |
libs/USBDevice/USB.cpp:430:37: warning: cast from type 'const void*' to type 'usbdesc_base*' casts away qualifiers [-Wcast-qual] | |
Compiling modules/communication/GcodeDispatch.cpp | |
Compiling modules/communication/SerialConsole.cpp | |
Compiling modules/robot/Block.cpp | |
Compiling modules/robot/Conveyor.cpp | |
In file included from /home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/vector:61:0, | |
from modules/robot/Conveyor.cpp:9: | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h: In instantiation of 'static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const Gcode*; _OI = Gcode*]': | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h:384:70: required from '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const Gcode*; _OI = Gcode*]' | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h:422:39: required from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const Gcode*, std::vector<Gcode> >; _OI = __gnu_cxx::__normal_iterator<Gcode*, std::vector<Gcode> >]' | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h:454:18: required from '_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const Gcode*, std::vector<Gcode> >; _OI = __gnu_cxx::__normal_iterator<Gcode*, std::vector<Gcode> >]' | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/vector.tcc:197:8: required from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Gcode; _Alloc = std::allocator<Gcode>]' | |
./modules/robot/Block.h:23:7: required from 'void RingBuffer<kind, length>::push_back(kind) [with kind = Block; int length = 16]' | |
modules/robot/Conveyor.cpp:67:34: required from here | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h:329:8: error: use of deleted function 'Gcode& Gcode::operator=(const Gcode&)' | |
In file included from modules/robot/Conveyor.cpp:12:0: | |
modules/robot/../communication/utils/Gcode.h:17:7: note: 'Gcode& Gcode::operator=(const Gcode&)' is implicitly deleted because the default definition would be ill-formed: | |
modules/robot/../communication/utils/Gcode.h:17:7: error: passing 'const string {aka const std::basic_string<char>}' as 'this' argument of 'std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]' discards qualifiers [-fpermissive] | |
In file included from /home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/vector:61:0, | |
from modules/robot/Conveyor.cpp:9: | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h: In instantiation of 'static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = Gcode*; _OI = Gcode*]': | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h:384:70: required from '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = Gcode*; _OI = Gcode*]' | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h:422:39: required from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = Gcode*; _OI = Gcode*]' | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h:454:18: required from '_OI std::copy(_II, _II, _OI) [with _II = Gcode*; _OI = Gcode*]' | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/vector.tcc:202:8: required from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Gcode; _Alloc = std::allocator<Gcode>]' | |
./modules/robot/Block.h:23:7: required from 'void RingBuffer<kind, length>::push_back(kind) [with kind = Block; int length = 16]' | |
modules/robot/Conveyor.cpp:67:34: required from here | |
/home/arthur/dev/arm/Smoothie/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/include/c++/4.7.3/bits/stl_algobase.h:329:8: error: use of deleted function 'Gcode& Gcode::operator=(const Gcode&)' | |
make[1]: *** [../LPC1768/./modules/robot/Conveyor.o] Erreur 1 | |
make[1]: quittant le répertoire « /home/arthur/dev/arm/Smoothie/src » | |
make: *** [lpc1768] Erreur 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment