4glpc - c compiler generates warning re: aclfgli_extend()
"James B. Byrne via Aubit4gl-discuss" <[email protected]> Thu, 24 Jun 2021 15:37:22 -0400
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <[email protected]> |
In building the latest exercise (17) I am getting these warnings, which I do
not recall seeing before:
Warning : Error file is not empty - but I got no error
Check ex17.warn for details
more ex17.warn
ex17.c: In function 'aclfgl_get_timeflds':
ex17.c:3968:7: warning: implicit declaration of function 'aclfgli_extend'; did
you mean 'aclfgli_current'? [-Wimplicit-function-declaration]
3968 | aclfgli_extend();
| ^~~~~~~~~~~~~~
| aclfgli_current
I presume that aclfgli_extend() is defined in some object module which is
automatically linked in. It seems to me then that it should be declared in a
header file and the warning messages eliminated thereby.
Or, is this a real problem?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Unencrypted messages have no legal claim to privacy
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:[email protected]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3