I'm having strange error messages to compile mh-6.8.3 on Solaris 2.3.
It's mhn.c under uip directory. I have no ther problem to compile mh-6.8.3.
When I compile mhn.c like as
make mhn
under uip directory. gcc-2.6.2 says
mhn.c: 1022: warning: no semicolon at end of struct or union
mhn.c: 1022: parse error before `.'
mhn.c: 1024: parse error before `}'.
However, the source codes from line 1022 to 1026 are as follows:
1022: struct str2init {
1023: char *si_key;
1024: int si_value;
1025: int (*si_init) ();
1026: };
I can't find no problems in those source lines. Actually, I did compile
this successfully on Solaris 2.1 for X86 by gcc-2.5.8 :-)
Does anyone have solved this problem?
Kenji
---------------------------------------------------------------------------
______ __ |__ | Universiy of Osaka Prefecture, Dept. of Earth Science,
|__\/__| /|\ | Gakuen-cho 1 - 1, Sakai, Osaka 593, Japan
---------------------------------------------------------------------------