Cannot compile generated UIB code with strict compile option

Posted by Patrick Tingen on 01-Nov-2017 05:51

I have enabled the strict compile options in DevStudio (Project Properties > Progress OpenEdge > Build > Compile) to accept only full keywords. When I create a new window from within DevStudio that same file holds abbreviated keywords in the generated parts, hence generating errors. The following code is an example of what is generated:

/* Define the widget handle for the window                              */
DEFINE VAR C-Win AS WIDGET-HANDLE NO-UNDO.

/* ************************  Frame Definitions  *********************** */

DEFINE FRAME DEFAULT-FRAME
    WITH 1 DOWN NO-BOX KEEP-TAB-ORDER OVERLAY 
         SIDE-LABELS NO-UNDERLINE THREE-D 
         AT COL 1 ROW 1
         SIZE 80 BY 16 WIDGET-ID 100.


The keywords 'VAR' and 'COL' are causing problems here. If I change it to full keywords, the UIB changes it back to abbreviated keywords the moment I change anything and save it. Is this a known issue?

Posted by Matt Gilarde on 01-Nov-2017 07:06

I thought that this had been addressed before 11.7 shipped but I don't see it in our bug tracking system.  I have logged bug PSC00361794 for this issue.

All Replies

Posted by Matt Gilarde on 01-Nov-2017 07:06

I thought that this had been addressed before 11.7 shipped but I don't see it in our bug tracking system.  I have logged bug PSC00361794 for this issue.

Posted by danielb on 13-Mar-2019 05:37

Hi [mention:931f7f12516e4daa930b60341926d260:e9ed411860ed4f2ba0265705b8793d05] [mention:e666fffb14004b29b4bad87b731999a8:e9ed411860ed4f2ba0265705b8793d05] We're about to hit this issue as well when we enable the strict compile options. Was there any resolution to that Progress bug that was raised (PSC00361794)? I can't see any reference to it in any of the 11.7.x release notes.

Posted by danielb on 13-Mar-2019 05:37

Hi [mention:931f7f12516e4daa930b60341926d260:e9ed411860ed4f2ba0265705b8793d05] [mention:e666fffb14004b29b4bad87b731999a8:e9ed411860ed4f2ba0265705b8793d05] We're about to hit this issue as well when we enable the strict compile options. Was there any resolution to that Progress bug that was raised (PSC00361794)? I can't see any reference to it in any of the 11.7.x release notes.

Posted by Matt Baker on 13-Mar-2019 12:54

New number is OCTA-3842.  It is not listed as fixed.
 
 
 

Posted by rkumar on 13-Mar-2019 14:20

Daniel and Patrick, The existing bug is marked as medium priority. Do you feel this should be bumped up?

This thread is closed