Can you explain these two sentences for me? I'm sure they're coherent but not to me:
> GCC does not have this limit and is more likely to confuse people that type > mismatches. "that type mismatches" doesn't scan for me? >Also, GCC does not parse arg 1 at compile time. "arg 1" of what? -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Jon Perryman Sent: Tuesday, October 21, 2025 2:57 PM To: [email protected] Subject: Re: Anyone using XL C? On Tue, 21 Oct 2025 11:52:45 -0500, Linda Chui <[email protected]> wrote: >On Mon, 20 Oct 2025 16:51:30 -0400, Phil Smith III <[email protected]> wrote: >>Great! Will it warn about more %n$ than are supported? >>I hope? Not that we're likely to make that mistake again... > >Unfortunately, that is something most compilers won’t be able to do since it >depends on the execution environment. Wrong, IBM compilers solved this type of problem decades ago by using warning messages and RC4 instead of RC8. If someone chooses to exceed the max as provided by IBM, then they can simply ignore the warning. GCC does not have this limit and is more likely to confuse people that type mismatches. Also, GCC does not parse arg 1 at compile time. I'm guessing that despite parsing arg 1 at compile time, arg 1 is still passed unparsed wasting runtime. I'm guessing that similar validation is not performed for similar functionality (e.g. database queries). ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
