You are right, with console and your parameters it works.
I also downloaded the template from here to get a set of working parameters and I get following results:
cl /c /IC:\root_v5.34.36D\include /ZI /W3 /WX- /Od /Oy- /D WIN32 /D _CRT_SECURE_NO_WARNINGS /D _DEBUG /D _CONSOLE /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt oscilloC.cpp
I always have the previous problem:
The main problem is the same, small (used from c:\root_v5.34.36\include\TGFSContainer.h) sems to be #defined on c:\Program Files (x86)\Windows Kits\8.1\Include\shared\rpcndr.h (#define small char)
but i solved modifying the root file c:\root_v5.34.36\include\TGFSContainer.h
from
virtual void GetFilePictures(const TGPicture **pic, const TGPicture **lpic,
Int_t file_type, Bool_t is_link, const char *ext,
Bool_t small);
to
virtual void GetFilePictures(const TGPicture **pic, const TGPicture **lpic,
Int_t file_type, Bool_t is_link, const char *ext,
Bool_t smalle);
hoping it will not cause problems in other part of code.