CompuServe Messages

C Compilers: which one?

    22-Jul-89 18:13:41
Fm: Gregg Tavares 72411,2772
To: David Hamkins 76515,1650
Didn't Lattice also change the "status" of global variables like 'IntuitionBase' 'GfxBase'…. I mean under Lattice 3.03 and Manx 3.4/3.6 you would declare your own struct IntuitionBase *IntuitionBase; struct GfxBase *GfxBase; But, Under Lattice 4.0 and 5.0 you have to do extern struct IntuitionBase *IntuitionBase; extern struct GfxBase *GfxBase; as those globals are now declared in the standard libraries. That means the code from Lattice 3 to Lattice 4/5 and from Lattice 4/5 to Manx is less portable (I guess it's portable but it generates linker warnings.)