ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

BNDDIR('QC2LE') no longer needed?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BNDDIR('QC2LE') no longer needed?

    Hello.

    We recently upgraded from v7.1 to v7.3. I use the C routines frequently and am used to including "BNDDIR('QC2LE')" in the H spec. I forgot to include it in a new program and it compiled anyway. I seem to remember compiler fails when omitting the explicit declaration. At what point in the release history was the need for explicit QC2LE declaration eliminated?

    Thanks in advance,
    Mike

  • #2
    The requirement was removed in V6 when QC2LE became part of the system binding directory.

    Comment


    • #3
      Thanks, Jon. That's too funny, I've been coding it for a long time. Turns out I didn't need to.

      Comment


      • #4
        You are not alone... this is news to me.

        Comment


        • #5
          It might be worth mentioning that it does no harm to add BNDDIR('QC2LE')... while it hasn't been necessary for many things since V5R4, it does no harm to add it. And, if you add it, your programs can work with older releases (provided everything else about it, aside from the binding directory, is compatable with those older releases, of course.)

          Comment

          Working...
          X