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() in c programs when compiled with cc and gcc


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

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




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