Problem MS Visual C++ Pragma 4786
Posted on 1997-10-13
I'm using Microsoft Visual C++
My program uses several standard library templates which produces symbols (classes, types, etc) with very long names.
The compiler prints out warnings (not errors) about these names. There is no harm in these warnings but it makes it impossible to find other warnings.
I tried dissabling the warning using:
#pragma warning(disable : 4786)
but it seems to have no effect. I have possitioned the pragma everywhere, in header files, in source code, before the STL includes and still have not gotten rid of the warning.
Am I doing something wrong or is this a bug in MSC?