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]

Re: Problems with fopen and strcmp.c


In article <8095v8$qcl$1@nnrp1.deja.com>,
	tobias_meier@my-deja.com writes:
> Hi,
> 
> I am using Suse Linux 6.0.
I use Suse 6.1.

> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> #include <malloc.h>
> 
> main()
> {
> File *in_ptr = NULL;
> char *in_file = "myfile";
> 
> in_ptr = fopen(in_file,"r");
> ...
> 
> }
> 
If i change File into FILE, it runs perfectly (linux, gcc-2.95.2)

Bye,
Martin.

-- 
The early bird gets the worm. If you want something else for       
breakfast, get up later.


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