Re: Global arrays mutiply defined in 4gl
Posted in 2006
Since these are not truly global arrays, the scope be only module wide for each one, just renaming the array in one of the modules will resolve it. Good luck, Brian >Hi, >When I define an array inside GLOBALS statement in two modules the linker >tells me that the symbol is multiply defined. >This just happens to arrays (records and primitive data types are ok) >because in the generated C it have a initialization. >Does anyone know how to tell to c4gl to do not initialize the array(s) ? >I know that if I use a globals file it works, but my customer have a >strange code generation process. >Thanks >Sérgio Ferreira _______________________________________________ ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.