Look for another, possibly external declaration of clan[]
that has a different type. Especially if its in a header
file that clan.c #include's.
--Sean
At 03:18 AM 12/9/97 -0600, Chris Powell wrote:
>I keep getting the error
>
>clan.c:21: two or more data types in declaration of 'clan'
>
>my line 21 is
>
>struct clan_data clan[MAX_CLANS];
>
>clan_data is
>
>struct clan_data {
>char name[20];
>int number;
>int leader;
>int bank;
>int members;
>}
>
>"The eyes are the windows to the soul."
>
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
> +------------------------------------------------------------+
>
>
>
----
/'''''''''''''''''\'\ The final aspiration of all coders?
| | |
| /* Sean Butler */ | | Sean Butler
| | | Coder for finality.com 4000
| exit(0); | | xin@finality.com
| | |
| | |
\\//................\\\//
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST