prog.cpp: In member function 'void DontHeapMeBro::Scan()':
prog.cpp:7:9: error: 'unique_ptr' is not a member of 'std'
prog.cpp:7:25: error: expected primary-expression before 'void'
prog.cpp:7:25: error: expected ';' before 'void'
prog.cpp:16:8: error: 'scanhandle' was not declared in this scope
prog.cpp:16:28: error: 'INVALID_HANDLE_VALUE' was not declared in this scope
prog.cpp:22:9: error: 'byte' was not declared in this scope
prog.cpp:22:14: error: expected ';' before 'buffer'
prog.cpp:23:3: error: 'USN_JOURNAL_DATA' was not declared in this scope
prog.cpp:23:20: error: expected ';' before 'journalquery'
prog.cpp:24:3: error: 'READ_USN_JOURNAL_DATA' was not declared in this scope
prog.cpp:24:25: error: expected ';' before 'journaldata'
prog.cpp:25:3: error: 'ulong' was not declared in this scope
prog.cpp:25:9: error: expected ';' before 'journaldatabuffersize'
prog.cpp:26:3: error: 'ullong' was not declared in this scope
prog.cpp:26:10: error: expected ';' before 'targetreference'
prog.cpp:27:3: error: 'USN' was not declared in this scope
prog.cpp:27:7: error: expected ';' before 'usn'
prog.cpp:28:3: error: 'JournalRecord' was not declared in this scope
prog.cpp:28:18: error: 'record' was not declared in this scope
prog.cpp:28:27: error: 'null' was not declared in this scope
prog.cpp:29:9: error: 'recordaddress' was not declared in this scope
prog.cpp:31:30: error: 'scanhandle' was not declared in this scope
prog.cpp:32:4: error: 'FSCTL_QUERY_USN_JOURNAL' was not declared in this scope
prog.cpp:33:4: error: 'NULL' was not declared in this scope
prog.cpp:35:5: error: 'journalquery' was not declared in this scope
prog.cpp:37:5: error: 'journalquerybuffersize' was not declared in this scope
prog.cpp:37:34: error: 'DeviceIoControl' was not declared in this scope
prog.cpp:46:4: error: 'FSCTL_READ_FILE_USN_DATA' was not declared in this scope
prog.cpp:49:11: error: 'buffer' was not declared in this scope
prog.cpp:51:5: error: 'readbuffersize' was not declared in this scope
prog.cpp: At global scope:
prog.cpp:56:5: error: expected unqualified-id at end of input