3 ms·
There certainly were/are differences across platforms in C (hence config scripts), but for the most part those aren't issues with the language itself but with t
by jhbadger 9y ago
There certainly were/are differences across platforms in C (hence config scripts), but for the most part those aren't issues with the language itself but with the supplied libraries.
- pjmlp 9y agoOh the joys of writing portable code across Aix, HP-UX, Solaris using their own compilers, using a mix of K&R and ANSI C. Many computers just had something like Small-C available.
- AnimalMuppet 9y agoEven using GCC it could be a problem. Aix would want a different type for this function call, Solaris for that function call, Linux for this other function call. We had #ifdefs around a lot of variable declarations. Fortunately, we were at least all ANSI.