Ha OK, Make sure you get teh PM I send you with teh Link to teh New version with those sintax error.
It is 2.12 but wit all the Bug fixes but witout the VS codes analisy sugestions.
Make sure you re-save all serialized data.
Marc wrote:Does VS 2010 warn you about those things or does it refuse to compile it? To me, it sounds like they integrate some static code analysis in the compiler of vs2010. So I suggests you to make the name of variables more unique, aber suggests to make sure buffers you use as strings are 0-terminated etc. I wonder why it doesn't suggest you to use fscanf_s instead of fscanf though - I think my vs2008 already warns me about that. I'ld guess it'll still finish the compilation if you don't do all that, but since those things could create hard to find errors in the future, I warns you about it.
VS2010 professional is just like VS2009 professional, quite frankly I do not see much difference.
The compiler issue zero error and zero warning when I compile Newton with 2010, however VS2010
comes with a series of tool like Profiler, and code analysis the tell you code weakness.
When I run Newton with it I get several thousand of those variable x is show by variable x.
This is not because it is and error, it is because eit is a habit of mine to program that way.
I Learned programming in a Fortran environment where variables use to have meaning for example, pointer where global, and loops variables where designated indices like i, j, k, ... So you must reuse then as much as possible and I keep using the same patter in C++.
That is not an error, and not other compiler had ever complained about that, Matroxwords, Visual Studio, Intel, Watcon, and all version of GCC, it is only that VS code analysis tool that had suggested to change it.
I can see how make that kind of change can easily lead to the Bug you found.
What I will do is to stop using that Habit for new code I write and each time I change a file I make the changes gradually, but I will no make a global find a replace over the entire engine like I did.