This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does not name a type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]