problems with fopen() in c programs when compiled with cc and gcc

Puneet Singhal puneet@opussoft.com
Tue Mar 20 02:27:00 GMT 2001


>
>	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)

----------------------------------------------------------------------------
----





More information about the Gcc-help mailing list