Current v3.01-dev has build errors



  • Invoking: Cross G++ Compiler
    arm-none-eabi-g++ -std=gnu++17 -D__SAME70Q20B__ -DRTOS -DDUET3_V06 -D_XOPEN_SOURCE -I"/usr/src/3d/dc42/workspace/RRFLibraries" -I"/usr/src/3d/dc42/workspace/FreeRTOS" -I"/usr/src/3d/dc42/workspace/CoreNG" -I"/usr/src/3d/dc42/workspace/CANlib" -I"/usr/src/3d/dc42/workspace/CoreNG/cores/arduino" -I"/usr/src/3d/dc42/workspace/CoreNG/libraries/Flash" -I"/usr/src/3d/dc42/workspace/CoreNG/libraries/SharedSpi" -I"/usr/src/3d/dc42/workspace/CoreNG/libraries/Storage" -I"/usr/src/3d/dc42/workspace/CoreNG/libraries/Wire" -I"/usr/src/3d/dc42/workspace/CoreNG/asf" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/common/utils" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/common/services/clock" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/common/services/ioport" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/sam/components/ethernet_phy/ksz8081rna" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/sam/drivers" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/sam/drivers/gmac" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/sam/services/flash_efc" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/sam/utils" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/sam/utils/cmsis/same70/include" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/sam/utils/header_files" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/sam/utils/preprocessor" -I"/usr/src/3d/dc42/workspace/CoreNG/asf/thirdparty/CMSIS/Include" -I"/usr/src/3d/dc42/workspace/CoreNG/variants/same70" -I"/usr/src/3d/dc42/workspace/RepRapFirmware/src" -I"/usr/src/3d/dc42/workspace/RepRapFirmware/src/Networking" -I"/usr/src/3d/dc42/workspace/RepRapFirmware/src/Networking/LwipEthernet/Lwip" -I"/usr/src/3d/dc42/workspace/RepRapFirmware/src/Networking/LwipEthernet/Lwip/src/include" -I"/usr/src/3d/dc42/workspace/DuetWiFiSocketServer/src/include" -I"/usr/src/3d/dc42/workspace/FreeRTOS/src/include" -I"/usr/src/3d/dc42/workspace/FreeRTOS/src/portable/GCC/ARM_CM7/r0p1" -I"/usr/src/3d/dc42/workspace/RRFLibraries/src" -I"/usr/src/3d/dc42/workspace/CANlib/src" -O2 -Wall -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -mno-unaligned-access -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fexceptions -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -fsingle-precision-constant "-Wa,-ahl=EndstopsManager.s" -fstack-usage -MMD -MP -MF"src/Endstops/EndstopsManager.d" -MT"src/Endstops/EndstopsManager.o" -o "src/Endstops/EndstopsManager.o" "../src/Endstops/EndstopsManager.cpp"
    In file included from /usr/src/3d/dc42/workspace/RepRapFirmware/src/ObjectModel/ObjectModel.h:18,
                     from /usr/src/3d/dc42/workspace/RepRapFirmware/src/RepRap.h:25,
                     from ../src/GCodes/GCodes.h:26,
                     from ../src/GCodes/GCodes.cpp:26:
    /usr/src/3d/dc42/workspace/RRFLibraries/src/RTOSIface/RTOSIface.h: In instantiation of 'ReadLockedPointer<T>::ReadLockedPointer(ReadLockedPointer<T>&&) [with T = ZProbe]':
    ../src/GCodes/GCodes.cpp:2651:9:   required from here
    /usr/src/3d/dc42/workspace/RRFLibraries/src/RTOSIface/RTOSIface.h:393:93: error: use of deleted function 'ReadLocker::ReadLocker(const ReadLocker&)'
      ReadLockedPointer(ReadLockedPointer&& other) noexcept : locker(other.locker), ptr(other.ptr) { other.ptr = nullptr; }
                                                                                                 ^
    /usr/src/3d/dc42/workspace/RRFLibraries/src/RTOSIface/RTOSIface.h:366:2: note: declared here
      ReadLocker(const ReadLocker&) = delete;
      ^~~~~~~~~~
    Finished building: ../src/GCodes/GCodeBuffer/ExpressionParser.cpp
     
    

  • administrators

    I forgot to commit a change to RRFLibraries. I'll do that now.



  • Pesky libraries. 🙂


Log in to reply