Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Tom — — source: Informix-list mailing list archive (1991-1998)
Hello:
Im running esql 5.08UC1. I have the following code:
#define DAYSIZE 2
static $char lsun[DAYSIZE];
static $char lmon[DAYSIZE];
I get the following:
sqlc: "wbatchctl.ec", line 246: Warning -33208: Runtime error is
possible because size of 'lsun' is unknown.
esqlc: "wbatchctl.ec", line 246: Warning -33208: Runtime error is
possible because size of 'lmon' is unknown.
How can I get rid of this?
Also, If I define as follows:
static $char lsun[wbatchctl::DAYSIZE];
static $char lmon[wbatchctl::DAYSIZE];
where wbatchctl::DAYSIZE is a public enum, I get the same error. Im just
trying to localize my declarations as enhances maintainability.
thanks,
tom.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.