Iv'e come across a situation quite frequently in CL where the build output will give me something like this
Code: Select all
In file included from C:/CODE/Diet3D/INCLUDES/GUI/CStyleProperties.cpp:2:0:
C:/CODE/Diet3D/INCLUDES/GUI/CStyleProperties.h: In member function 'void CStylePropertys::print(std::string, std::string)':
C:/CODE/Diet3D/INCLUDES/GUI/CStyleProperties.h:23:14: error: 'std::string cssPropertyValue::repr' is protected
std::string repr;
^
I can't click on the 2nd line to go to the function it is talking about.
Yet, that's the only place I actually need to go, because that's the function which is accessing a variable it shouldn't(accidentally so, because I had changed the repr variable to be protected).
Is there a technical reason for this or is it just something that wasn't considered?
Can we get this fixed?