Re: 4gl compile time messages
Posted in 1998
On Mon, 14 Sep 1998 Rajesh_Kapur@spartanstores.com wrote: > When I give the command "c4gl -c Progname.4gl -o Progname.o" on AIX 4.3, > Informix 7.24 UC1, 4gl 6.04 UC2, some of the programs in the application > display thousands of messages similar to the following. The compilation and > subsequent linking proceeds normally. There are no apparent problems during > run time. What are these messages? What are they trying to tell me? Mainly that you have too many big arrays of globals... :-) > "Progname.ec", line 65444.7: 1506-219 (W) #line value 65444 too large. The current ISO/ANSI standard for C says that you cannot use #line numbers larger than 32767. Your program is compiling into source code with more line numbers than that. This is a known problem, and is supposed to be fixed. I don't recall what the fix involved. I think you should look at the options in c4gl; the 7.20 version I'm using has options -linenos and -nolinenos. You should be able to set the environment variable C4GLFLAGS to include -nolinenos to get around this problem permanently. If your version of I4GL does not support these options, then it is time to consider an upgrade, especially since that will give you DBCENTURY support in your I4GL code. Yours, Jonathan Leffler (jleffler@informix.com) #include <witticism.h> Guardian of DBD::Informix v0.60 -- http://www.perl.com/CPAN Informix IDN for D4GL & Linux -- http://www.informix.com/idn