syntax error before int
#include <errno.h>
extern int errno #define MaxBuffV 1024 /* The Named Pipe Linkages...*/ #define FIFO1 #define FIFO2 int Client(int rfd, int wfd); /* line in question with error */ int main() { return 0; ) int Client(int rfd, int wfd) { return 0l; } when I compile program in gcc compiler I get a message saying at top level above main error: syntax error before "int" why is it doing this |
This is probably the cause of the message
Code:
int main() Please embed code between [code] and [/code] to preserve formatting. |
There are a few problems.
Code:
extern int errno Even if it is, you need a semicolon at the end. Code:
|
All times are GMT -5. The time now is 05:27 PM. |