From mboxrd@z Thu Jan 1 00:00:00 1970 From: martin.kahlert@keksy.mchp.siemens.de (Martin Kahlert) To: help-gcc@gnu.org Subject: Re: Problems with fopen and strcmp.c Date: Tue, 09 Nov 1999 06:31:00 -0000 Message-id: <809avb$7oj$2@news.mch.sbs.de> References: <8095v8$qcl$1@nnrp1.deja.com> X-SW-Source: 1999-11/msg00109.html 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 > #include > #include > #include > > 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: martin.kahlert@keksy.mchp.siemens.de (Martin Kahlert) To: help-gcc@gnu.org Subject: Re: Problems with fopen and strcmp.c Date: Tue, 30 Nov 1999 23:28:00 -0000 Message-ID: <809avb$7oj$2@news.mch.sbs.de> References: <8095v8$qcl$1@nnrp1.deja.com> X-SW-Source: 1999-11n/msg00109.html Message-ID: <19991130232800.g_ZEgAtJjr35MKJKr0_FXg_vJxEuhWHly5vU593hSnU@z> 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 > #include > #include > #include > > 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.