Re: Segmentation fault with all c programs

2003-11-11 Thread Arash Partow
I tried your code, it compiles and runs ok, there is no problem! If i was you i would try the following: 1. make sure there is only 1 location on your pc where cygwin1.dll can be found, it should be cygwin/bin/cygwin1.dll + make sure you have the latest cygwin1.dll (1.5.5-1) 2. download the lat

Re: Segmentation fault with all c programs

2003-11-11 Thread Brian Ford
On Tue, 11 Nov 2003 [EMAIL PROTECTED] wrote: > Each C program that I compile with gcc causes a segmentation fault. Even such > simple and harmless programs: > > void funct() { > } > > int main() { > funct(); > return 0; > } > > With compilation I don’t get any warni

Segmentation fault with all c programs

2003-11-11 Thread Michael . Meier
Hi, Each C program that I compile with gcc causes a segmentation fault. Even such simple and harmless programs: void funct() { } int main() { funct(); return 0; } With compilation I don’t get any warnings or errors. I tried it with gcc version 3.2.1 and version