There is a property sheet included in the project with the name no_ms_shit.props (after conversion). In this sheet, what MS has been trying to do over the past 5 years has been full of hatred.
They went too much on themselves, disconnecting everything, even disconnecting from sprintf_s (). What is the source of your error, the stdio.h header skips the declaration, but the line header uses it. Not sure if the Express version supports editing project property sheets, but a step in the retail version:
- View + Property Manager
- Open one of the nodes and find "no ms shit"
- Right click on it, Properties
- C / C ++, preprocessor, preprocessor definitions
- Change
__STDC_WANT_SECURELIB__=0 to 1 - Add _CRT_SECURE_NO_WARNINGS to these definitions
Now the project is compiling. I get a build error for copying files, this is an event after the build. Start another question if you cannot figure out how to fix it.
Hans passant
source share