Segmentation Fault while using cygwin (c++)
Posted: Sat Feb 04, 2012 8:40 am
Hi guys, I've searched all over but I can't seem to find an answer to my problem. I get a segmentation fault when compiling a program that is a class (header) file. For some reason having any includes makes it give me this error. http://imageshack.us/f/850/errorzw.jpg/
I have a bunch of other programs that run and compile fine. But, this one whenever I have an include just messes up. I'm pretty new to programming, so I was hoping someone here would know something. The full thing in the parameters is:
It will compile when I use emacs on a unix (it might be linux) server my university has. But, I like coding in textpad a lot more than emacs. Any help would be appreciated. Thank you for your time.
I have a bunch of other programs that run and compile fine. But, this one whenever I have an include just messes up. I'm pretty new to programming, so I was hoping someone here would know something. The full thing in the parameters is:
Code: Select all
-W -Wall -pedantic -o $BaseName -I c:\cygwin\cccfiles $File