GNU make version 3.79.1 gcc version 2.96 the following statement was used in a simple C program for debugging purposes in a uni.
if(ReadInWord[0]='n')
fprintf("There are no words entered")
i've used a Makefile to compile it with gcc -w -c -g
there should be a segmentation fault reported.
I did not get such report on my laptop. Using the
same file I've got the segmentation fault reported in
university with the same version of gcc and make.
Why?
=====
from,
Chin Hui
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
Makefile
Description: Makefile
bug1.c
Description: bug1.c
