[Info-vax] strtok_r on Compaq C V6.4-005 on OpenVMS VAX V7.3
Single Stage to Orbit
alex.buell at munted.eu
Sun Oct 21 18:31:06 EDT 2012
On Sun, 2012-10-21 at 17:51 -0400, JF Mezei wrote:
>
> > thanks guys. I lifted the freebsd impl for a local copy.
>
> VMS was lateimplementing these standard function. I remember having to
> write my own strdup. And when I upgraded, found the compiler would
> complain about multiple definitions of strdup.
>
> So just be aware that when you upgrade the compiler, you'll have to
> update your own .h files to remove the strdup definition. (and strtok
> and any other that you write because they are missing)
All easily avoided by using macros to detect their presence or not. This
was why GNU autoconf was invented.
--
Tactical Nuclear Kittens
More information about the Info-vax
mailing list