This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Does not name a type
- From: Arturas Moskvinas <arturas dot moskvinas at gmail dot com>
- To: corey taylor <corey dot taylor at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 13 Jun 2005 10:11:03 +0300
- Subject: Re: Does not name a type
- References: <2e393d0805061022465e7a2b24@mail.gmail.com> <2e393d08050612183142d45fa9@mail.gmail.com>
- Reply-to: Arturas Moskvinas <arturas dot moskvinas at gmail dot com>
I do not know, you might already know it. Make your header files
multitiple include "friendly". Simply put some preprocessor
directives:
#ifndef __file_1_h_
#define __file_1_h_
/*your declaration and so on...*/
#endif
Arturas Moskvinas