I am getting the following two compilation errors. Please clarify for resolving this.
* In file test.h
typedef struct {
int x;
char y;
}simple;& in another header file test1.h, which is also included in file test.c, the following statement is used which gives the 'parse error before token *'.
func( simple *i);
*In file test.h
#define CONST const
& in another header file test1.h, which is also included in file test.c, the following statement is used which again gives the parse error.
func( CONST char *c);
Errors are appeared even after the files are compiled with appropriate include paths. What may be the reason for this?
Thanks
--Kris
_________________________________________________________________
Staying fit. It's about being happy! http://server1.msn.co.in/features/stayingfit/index.asp Check out the new mantra.
_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
