moonglow / FlashForge_Marlin

:shark: Marlin firmware for FlashForge Dreamer/Dreamer NX/Inventor, Bosch Dremel 3D20 3D, PowerSpec Ultra 3D and Monoprice Inventor 1
84 stars 26 forks source link

Compiling FlashForge/Dremel Marlin 2.0.9.5 - Moonglow v0.15.0 #127

Closed gordonmoore9 closed 1 year ago

gordonmoore9 commented 1 year ago

I compile using Visual Studio Code. When compiling v0.15.0 I receive a terminal message as follows:

Marlin\src\module\planner.cpp: In static member function 'static void Planner::buffer_sync_block(BlockFlagBit)': Marlin\src\module\planner.cpp:2864:35: warning: 'void memset(void, int, size_t)' clearing an object of type 'block_t' {aka 'struct block_t'} with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] 2864 | memset(block, 0, sizeof(block_t)); | ^ In file included from Marlin\src\module\planner.cpp:65: Marlin\src\module\planner.h:190:16: note: 'block_t' {aka 'struct block_t'} declared here 190 | typedef struct block_t { | ^~~

Is this an issue?

moonglow commented 1 year ago

Hi @gordonmoore9 !

this is just a compiling warning message, not an issue .