This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with fopen and strcmp.c
- To: help-gcc at gnu dot org
- Subject: Re: Problems with fopen and strcmp.c
- From: martin dot kahlert at keksy dot mchp dot siemens dot de (Martin Kahlert)
- Date: 9 Nov 1999 14:26:51 GMT
- Newsgroups: gnu.gcc.help
- Organization: Siemens Inc.
- References: <8095v8$qcl$1@nnrp1.deja.com>
- Reply-To: martin dot kahlert at mchp dot siemens dot de
- Xref: wodc7nx0 gnu.gcc.help:1736
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.