I'm trying to start a new project using C++ (in eclipse 3.6.2 with CDT). I have another c++ project that is working just fine, but I created a new empty c++ project that is crashing with a SegFault seemingly before it even enters the main(..) function :S
/*
* Test.h
*
* Created on: 2011-05-05
* Author: jarrett
*/
#ifndef TEST_H_
#define TEST_H_
class Test {
public:
Test();
virtual ~Test();
};
#endif /* TEST_H_ */
I was adding a bunch of functionality with a new class (OSLinux.h) but got a seg fault, so I commented out just about EVERYTHING (literally, it only returns 0 now) but it STILL seg faults!
Right, well I copied the source code, created a new project, copied the source into that new project and it compiles and runs just fine now. I have no freaking idea what happened there..
Thanks guys for taking time to look at this issue :)