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

Re: PATCH: AIX .export files



On Nov 4,  7:12pm, Oliver Kiddle wrote:
} Subject: PATCH: AIX .export files
}
} I had a go at compiling 3.1.6-bart-8 on AIX. The first problem I had
} was with the standard AIX awk. I got this error:
} 
}  awk -f ../../Src/makepro.awk parameter.c Src/Modules > parameter.pro
} awk: 0602-564 Format item static void shempty  cannot be longer than
} 3,000 bytes.

This appears to refer to the awk-variable `local' which is being printed
during the END block, and which has accumulated all the static function
prototypes during processing of the file.

Possible solutions:

(1) Try using
	printf "%s", locals
    on line 149 of makepro.awk.
(2) Reorder the functions so as many as possible are defined before they
    are referenced, and then remove the /**/ from all except those that
    cannot be so ordered.
(3) Break up parameter.c into several files.
(4) Rewrite makepro.awk to avoid accumulating all the function def'n's
    before printing any of them, thus producing uglier .pro files.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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