<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Clang12 w/-std=c99: </div><div class="">:info:build parser.c:85:5: warning: implicit declaration of function 'DrawCommandLine' is invalid in C99 [-Wimplicit-function-declaration]</div><div class=""><br class=""></div><div class="">Clang14 w/-std=c89:</div><div class=""><div class="">:info:build /usr/bin/clang -std=c89 -Os -arch x86_64 -I./ -I/opt/local/include -I/opt/local/include/GL -I../../libSNL/src -I../../glut-3.5/src -c -o parser.o parser.c</div><div class="">:info:build parser.c:85:5: error: implicit declaration of function 'DrawCommandLine' [-Werror,-Wimplicit-function-declaration]</div><div class="">:info:build DrawCommandLine(keystroke, strlen(keystroke)+*curshft);</div><div class="">:info:build ^</div><div class="">:info:build 1 error generated.</div><div class="">:info:build make: *** [parser.o] Error 1</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div class="">Mark Brethen</div><div class=""><a href="mailto:mark.brethen@gmail.com" class="">mark.brethen@gmail.com</a></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jul 27, 2022, at 7:23 AM, Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Latest clang compilers probably default to a 'recent' c standard, unless otherwise told. If the code in question only builds using the less restrictive older standards, then the builds should specify this using -std=c89 for instance..</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote></div><br class=""></div></body></html>