Last know working distro?

Vince Callaway <[email protected]> Mon, 19 Apr 2021 10:53:11 -0700
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
I need to resurect an old 4gl application and have run into some issues.

I believe I've narrowed down my problem to a change with the posgres includes. I don't expect anyone to spend time to get this working. If I can get a combination of a linux distro and version that will compile and run I will be happy.
What I have run into is everywhere I pass a variable to a function and use that in a CONSTRUCT it fails when it opens the cursor. I get a .warn file when I do the compile. I'll include it if anyone is interested in what I'm seeing.
In file included from /home/vince/aubit4gl/incl/a4gl_esql.h:57,
from agents.cpc:5:
agents.cpc: In function ‘aclfgl_agents_update’:
/home/vince/aubit4gl/incl/a4gl_esql_postgres.h:311:35: warning: implicit declaration of function ‘A4GL_copy_sqlca_sqlawarn_string8’; did you mean ‘A4GL_copy_sqlca_sqlawarn_8chars’? [-Wimplicit-function-declaration]
311 | #define A4GLSQL_SET_SQLCA_SQLWARN A4GL_copy_sqlca_sqlawarn_string8(sqlca.sqlwarn)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
agents.cpc:1754:16: note: in expansion of macro ‘A4GLSQL_SET_SQLCA_SQLWARN’
1754 | A4GLSQL_SET_SQLCA_SQLWARN;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
agents.cpc:1779:20: warning: implicit declaration of function ‘A4GL_ESQL_cursor_is_open’ [-Wimplicit-function-declaration]
1779 | if (A4GL_ESQL_cursor_is_open("agents_dcurs")) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
agents.cpc:1786:39: warning: implicit declaration of function ‘A4GL_ESQL_set_cursor_is_open’; did you mean ‘A4GLSQL_get_curr_conn’? [-Wimplicit-function-declaration]
1786 | if (sqlca.sqlcode>=0) {A4GL_ESQL_set_cursor_is_open("agents_dcurs");}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| A4GLSQL_get_curr_conn
agents.cpc:1983:19: warning: implicit declaration of function ‘A4GL_ESQL_set_cursor_is_closed’ [-Wimplicit-function-declaration]
1983 | A4GL_ESQL_set_cursor_is_closed("agents_dcurs");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss