>> not exactly. it will work on most Unix systems and >> on Plan 9 without -T because nothing checks >> external types across object module boundaries. the linker/loader in both >> systems >> will allocate in BSS the largest size seen for a given symbol, >> so it doesn't matter whether int == long or not. > > by "work" you mean not generate an out-of-range > memory access nor not produce unexpected values? > > - erik
i meant "pass muster", which i thought was the sense originally intended (ie, link without diagnostic) but i see now that wasn't intended. sorry. anyhow, that's why it links without diagnostic elsewhere!
