TIP: Click on subject to list as thread! ANSI
echo: tub
to: All
from: Serguei Trouchelle
date: 2003-11-15 21:35:34
subject: max/max.h problems under Watcom

[...] 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)
SEEN-BY: 633/267 270
@PATH: 550/4077 5030/49 10/3 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.