[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compilation Errors
From: |
S kris |
Subject: |
Compilation Errors |
Date: |
Thu, 29 May 2003 20:19:42 +0530 |
Hi,
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compilation Errors,
S kris <=