I am doing one project in which i am using QMap but its giving error related to qglobal.h file, thats

Char Followed by a char is illegal
Qt Code:
  1. typedef map<int ,cal_pointer*> QMap2D;
To copy to clipboard, switch view to plain text mode 

When i m using only map, there is no error in it.

Can anyone tell me, how i can get rid of this error.

Thanks