<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo;" class=""> Hi Christophe</div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo;" class=""> gl2ps is indirectly tested/analysed by tools at CERN (because it is used in the visualisation of “Geant4”, a particle through matter simulation toolkit). I am using the gl2ps 1.4.0 code, and with gcc-9.2, CERN people say that there is a warning :</div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo;" class=""><span style="font-family: Helvetica; font-size: 20px;" class="">geant4/source/analysis/g4tools/include/tools/sg/../gl2ps:4042:12: warning: this statement may fall through [-Wimplicit-fallthrough=]</span><br style="font-family: Helvetica; font-size: 20px;" class=""><span style="font-family: Helvetica; font-size: 20px;" class="">4042 | offs += fprintf(tools_gl2ps_context->stream, "/Im%d %d 0 R\n", gro->imno, gro->imobjno);</span><br style="font-family: Helvetica; font-size: 20px;" class=""><span style="font-family: Helvetica; font-size: 20px;" class=""> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><br style="font-family: Helvetica; font-size: 20px;" class=""><span style="font-family: Helvetica; font-size: 20px;" class="">geant4/source/analysis/g4tools/include/tools/sg/../gl2ps:4043:5: note: here</span><br style="font-family: Helvetica; font-size: 20px;" class=""><span style="font-family: Helvetica; font-size: 20px;" class="">4043 | case TOOLS_GL2PS_TRIANGLE:</span><br style="font-family: Helvetica; font-size: 20px;" class=""><span style="font-family: Helvetica; font-size: 20px;" class=""> | ^~~~</span><br style="font-family: Helvetica; font-size: 24px;" class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 18px; line-height: normal; font-family: Menlo;" class=""><span style="font-family: Helvetica; font-size: 20px;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class=""> It looks that there is a “break:” missing in the gl2psPDFgroupListWriteXObjectResources() function before the "case GL2PS_TRIANGLE:” line of code.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class=""> This time I am not so sure about this diagnostic, then I ask you… If not a bug, do you see a way to bypass this warning ?</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class=""> Thanks for any answer. Cheers. Guy</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class="">Guy Barrand</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class="">CNRS/IN2P3/LAL</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-size: 20px;" class=""> </span></div></div></body></html>