This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: problems with fopen() in c programs when compiled with cc and gcc
- To: "sinam dhiren" <sdkhuman at yahoo dot com>,<gcc-help at gcc dot gnu dot org>
- Subject: RE: problems with fopen() in c programs when compiled with cc and gcc
- From: "Puneet Singhal" <puneet at opussoft dot com>
- Date: Tue, 20 Mar 2001 15:59:32 +0530
>
> The error message I got is as follows
>printfile.c:In Function 'main':
>printfile.c:8:warning:assignment makes pointer from
>integer without a cast
I am not getting any such message using any of the compilers.
Write more about teh commandline you use for compiling the proggy.
>
> Also provide some information about
>"Segmentation fault core(dumped)"
>
This happens in many cases for eg when you try to access illegal memory etc.
*********************************************
The Boulder Pledge: "Under no circumstances will I ever purchase anything
offered to me as the result of an unsolicited email message. Nor will I
forward chain letters, petitions, mass mailings, or virus warnings to large
numbers of others. This is my contribution to the survival of the online
community."
*********************************************
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
Unix is user-friendly (it only choose its friends carefully)
----------------------------------------------------------------------------
----