<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="">I deliberately put back my broken code, added --warn-unknown-format-calls to the Makefile and rebuilt and guess what, not only did it highlight those lines but also some other code in an ANSI colour output module I created, these were the ones I was expecting:<div class=""><br class=""></div><div class="">Making Mercury/cs/tutils.c<br class="">tutils.m:324: Unknown format string in call to `string.format'/3.<br class="">tutils.m:324: Unknown format values in call to `string.format'/3.<br class="">tutils.m:644: Unknown format string in call to `string.format'/3.<br class="">tutils.m:644: Unknown format values in call to `string.format'/3.<br class="">tutils.m:807: Unknown format string in call to `stream.string_writer.format'/5.</div><div class=""><br class=""></div><div class="">and the bonus finds of:</div><div class=""><br class=""></div><div class="">Making Mercury/cs/target_c.c<br class="">target_c.m:1013: Unknown format string in call to `string.format'/3.</div><div class=""><br class=""></div><div class="">and:</div><div class=""><br class=""></div><div class="">Making Mercury/cs/aio.c<br class="">aio.m:042: Unknown format string in call to `io.format'/4.<br class="">aio.m:042: Unknown format values in call to `io.format'/4.<br class="">aio.m:044: Unknown format string in call to `io.format'/4.<br class="">aio.m:044: Unknown format values in call to `io.format'/4.<br class="">aio.m:048: Unknown format string in call to `io.format'/4.<br class="">aio.m:048: Unknown format values in call to `io.format'/4.<br class="">aio.m:051: Unknown format string in call to `string.format'/3.<br class="">aio.m:051: Unknown format values in call to `string.format'/3.</div><div class=""><br class=""></div><div class="">Excellent! I can fix these now and I didn't even know...I've seen a list of compiler options in chapter 9 of the user guide PDF but probably forgotten as there are so many and again, as a beginner, yo don't know what you need.</div><div class=""><br class=""></div><div class="">Perhaps there could be an over-arching '--enable-n00b-mode' flag which enables that option and anything else that might be helpful to beginning Mercury users?</div><div class=""><br class=""></div><div class="">For me, I'd say turn it on by default because, as a beginner, sometimes any clue from the compiler can help enlighten you when faced with an issue.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Sean.</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 13 Feb 2022, at 09:57, Zoltan Somogyi <<a href="mailto:zoltan.somogyi@runbox.com" class="">zoltan.somogyi@runbox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><blockquote type="cite" style="font-family: CourierNewPSMT; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""> stream.string_writer.format(</blockquote></div></blockquote></div><br class=""></div></body></html>