4.9 preview-syntax error

Trying to port to 4.9 preview i get those:

Error 230 error C1003: error count exceeds 100; stopping compilation
Error 3 error C2059: syntax error : ‘&’
Error 132 error C2059: syntax error : ‘&’
Error 247 error C2059: syntax error : ‘&’

They all point to the ampersand in class constructor, like this:

AClass::AClass(const class FPostConstructInitializeProperties& PCIP)

What is this about?

Hey -

FPostConstructionInitializeProperties has been depreciated. Changing this to FObjectInitializer should allow the solution to compile successfully.

Cheers

Thank you, it worked ineed. I opened the 4.8 project with visual studio and tried to follow the warning messages, but there are more errors which i find difficult to solve(the only message i get is ‘error code 5’ and some Visual Studio intellisense messages pointing to commas and semicolons). How should i deal with it?

You should get more information on what the error code is referring to if you go to the Output tab inside Visual Studio.

Thank you, it worked. I was used to have all my errors listed in the “Error List” tab, i didn’t realise there could be something more.