D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(333): error C3861: 'print_property_storage': identifier not found
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(333): note: 'print_property_storage': function declaration must be available as none of the arguments depend on a template parameter
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(998): error C2362: initialization of 'load_address' is skipped by 'goto fail'
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(970): note: see declaration of 'load_address'
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(998): note: see declaration of 'fail'
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(998): error C2362: initialization of 'input_path' is skipped by 'goto fail'
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(917): note: see declaration of 'input_path'
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(998): note: see declaration of 'fail'
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(998): error C2362: initialization of 'pdb_path' is skipped by 'goto fail'
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(900): note: see declaration of 'pdb_path'
D:\IDA\idasdk90_sp1\dbg\win32\../../plugins/pdb/msdia.cpp(998): note: see declaration of 'fail'
I see that it seems to have been fixed in ida sdk 9.2
by removing the use of the reference type
const qstring &pdb_path = pdbargs.pdb_path;
but my point was different
if you use C++ language
then using goto in it is dangerous
since you can jump outside the call of the object destructor
this is fraught with a memory leak
therefore this case is fixed by using blocks {}
and adding flags to the compiler
so that it would generate warnings for such situations