Subj : max/max.h problems under Watcom To : All From : Serguei Trouchelle Date : Sat Nov 15 2003 09:35 pm [...] maximus\max\max.h(673): Error! E1009: Expecting ')' but found '(' [...] maximus\max\max.h(673): Error! E1009: Expecting ',' but found '(' [...] maximus\max\max.h(673): Error! E1094: Function cannot return a function [...] maximus\max\max.h(673): Error! E1044: Variable '__attribute__' has incomplete type [...] maximus\max\max.h(673): Error! E1026: Invalid declarator [...] maximus\max\max.h(673): Error! E1009: Expecting ',' but found ')' [...] maximus\max\max.h(673): Error! E1026: Invalid declarator [...] maximus\max\max.h(673): Error! E1009: Expecting ',' but found ')' [...] maximus\max\max.h(673): Error! E1026: Invalid declarator [...] maximus\max\max.h(681): Error! E1023: Storage class of parameter must be register or unspecified [...] maximus\max\max.h(681): Error! E1024: Declared symbol 'zstr' is not in parameter list [...] maximus\max\max.h(699): Error! E1009: Expecting ')' but found '(' [...] maximus\max\max.h(699): Error! E1009: Expecting ',' but found '(' [...] maximus\max\max.h(699): Error! E1094: Function cannot return a function [...] maximus\max\max.h(699): Error! E1024: Declared symbol '__attribute__' is not in parameter list [...] maximus\max\max.h(699): Error! E1009: Expecting ',' but found ')' [...] maximus\max\max.h(699): Error! E1026: Invalid declarator [...] maximus\max\max.h(699): Error! E1009: Expecting ',' but found ')' Changes from Scott's distribution are like this: 674c673 < }; --- > } __attribute__((packed, aligned(2))); etc. I think this must be something like #ifdef __GNUC__ } __attribute__((packed, aligned(2))); #else }; #endif Serguei Trouchelle --- timEd/386 1.10.y2k+ * Origin: Send more complaints! (2:550/4077.101) .