How can I track back what caused compiler error in the first place ? I mean which part of my code invoked that error ?
For example, I'm using VS2017 with default compiler and i get following compile error:
C2070 'unsigned char []': illegal sizeof operand | type_traits 1227
Which points to standard library header type_traits
, but that's pointless because i have no idea which part of my code cause it so how can i track it back to the original point in my code ?
Right now I see just one option and thats systematicaly commenting parts of my code until I dont get that error. There has to be something to track it.