Hi!
I've had this problem for a couple of days now, and I don't know what it is. My Visual Studio 2012 project worked perfectly before, but now it just hangs at the "Generating code..." part. It litteraly takes forever. I once left it for more than 30 minutes, and it was still there at the point I left it.
It builds until this part (though not very quickly):
1>------ Build started: Project: Interactive Quiz, Configuration: Release Win32 ------
1>Build started 28-Apr-13 13:16:56.
1>InitializeBuildStatus:
1> Touching "Release\Interactive Quiz.unsuccessfulbuild".
1>GenerateTargetFrameworkMonikerAttribute:
1>Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
1>ClCompile:
1> All outputs are up-to-date.
1> AssemblyInfo.cpp
1> Interactive Quiz.cpp
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\registerForm.h(93): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\registerForm.h(486): warning C4244: '=' : conversion from 'std::streamoff' to 'int', possible loss of data
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\quizForm.h(3641): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\editQuestions.h(476): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\editQuestions.h(794): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\editQuestions.h(1045): warning C4800: 'void *' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\chooseSubject.h(160): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\introForm.h(366): warning C4018: '<' : signed/unsigned mismatch
1> QuizForm.cpp
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\quizForm.h(3641): warning C4018: '<' : signed/unsigned mismatch
1> aboutForm.cpp
1> chooseSubject.cpp
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\QuizForm.h(3641): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\chooseSubject.h(160): warning C4018: '<' : signed/unsigned mismatch
1> creditsForm.cpp
1> editQuestions.cpp
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\editQuestions.h(476): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\editQuestions.h(794): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\editQuestions.h(1045): warning C4800: 'void *' : forcing value to bool 'true' or 'false' (performance warning)
1> loginForm.cpp
1> registerForm.cpp
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\registerForm.h(93): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\registerForm.h(486): warning C4244: '=' : conversion from 'std::streamoff' to 'int', possible loss of data
1> Generating Code...
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\registerform.h(114): warning C4715: 'InteractiveQuiz::registerForm::extractWord' : not all control paths return a value
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\editquestions.h(1106): warning C4715: 'InteractiveQuiz::editQuestions::isEverythingFilled' : not all control paths return a value
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\editquestions.h(497): warning C4715: 'InteractiveQuiz::editQuestions::extractWord' : not all control paths return a value
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\quizform.h(3662): warning C4715: 'InteractiveQuiz::quizForm::extractWord' : not all control paths return a value
1>c:\users\boris\google drive\fit\vs projects\interactive quiz\interactive quiz\choosesubject.h(181): warning C4715: 'InteractiveQuiz::chooseSubject::extractWord' : not all control paths return a value
I don't know what it could be? I read how some people talked about the "slow build" problem, that I could go to Tools > Options > Projects and Solutions > Build and Run and then change something there, but the thing is that my build isn't just slow, it's infinitely slow, it just stops there!
It all worked well until, I think, about April 19th, but all I did was edit certain parts of code. Even after that, I think it worked pretty well, when suddenly it just got stuck at the Generating code... part.
EDIT: Let me just say, before you rush with it - all of these 'errors' like not all control paths return a value or conversion from std::streamoff to int, possible loss of data, etc. have existed before and my project could build normally, without any errors or problems; it's just that now it won't work!
Any ideas? Thanks.