Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

makepro.awk oddity with strtoul



FWIW, compiling zsh earlier today on a RHEL7 system that for some reason (tbd) must have misplaced strtoul, gcc then didn't like this bit of code in compat.epro

#ifndef HAVE_STRTOUL
extern unsigned long strtoul(nptr;
extern unsigned long endptr;
extern unsigned long base)const char*nptr;
#endif /* HAVE_STRTOUL */

I had happily forgotten K&R function syntax ever existed; perhaps makepro.awk has always been blissfully ignorant.

Rgds

Anthony



Messages sorted by: Reverse Date, Date, Thread, Author