I have a header file, where I try to collect global variable declarations. When trying to typedef a map I get the following error:
n file included from Dis0_10.ino:7:
/var/folders/jl/nv1qvh6n569cxq9xxfd6dx980000gn/T/build8295701509021940161.tmp/globals.h:23: error: expected initializer before '<' token
relevant code snippets from global.h are:
#ifndef GLOBALS
#define GLOBALS
#include <map>
...
typedef std::map<uint8_t,uint8_t> memmap_t;
I have no clue, why this statement should fail. I consider it rather straight forward. So I think there must be some problems of this kind here. Or am I missing another include?