I'm trying to make a few minute adjustments to the source code of a computer game. The source code was legally released, as was the game, and I have seen others make the same kinds of modifications to it as I am trying to. However, I am getting an error when I try to build the .sln file which VS Express created out of the provided .dsw.


error C2059: syntax error : 'type'

That's my error. Upon loading the .sln file, I also got:


The source control provider associated with this solution could not be found. The projects will be treated as not under source control.
Do you want to permanently remove the source control bindings from the projects?



I have not encountered a .dsw workspace file yet since I am still just a beginner, and I don't know what one is and what significance it may have. Is it bad that VSE first created a .sln out of the .dsw?

P.S. The strange thing about this problem is that the particular build error I listed above referred to a line on which there was only a '}'. By the way, I looked around and the source files were .c format, not .cpp. Does this have anything to do with it?