Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: rickg22 on January 17, 2006, 04:55:14 pm
-
I pinpointed the source for this annoying error.
it's in wxWidgets src/common/filename.cpp
bool wxFileName::Normalize(int flags,
const wxString& cwd,
wxPathFormat format)
{
...
if ( m_dirs.IsEmpty() )
{
wxLogError(_("The path '%s' contains too many \"..\"!"),
GetFullPath().c_str());
return FALSE;
}
}
Apparently this is an error that should've been taken care of (i.e. if it returns false, is because something's wrong), why do we end up with paths above the root directory? :-S And do the normalizations work in these cases or what?
-
Yes.
-
So if they work it's safe to ignore the message, right? :) So then it's just matter of adding a null logger to all the normalize calls :)
-
No, it is a matter of not prepending half a dozen ../ to all paths ;)
-
That means you'll fix it? :)
-
Is that why code completion was crashing on me?
-
280: I have NO idea.
-
I get that message pretty often now but not a single crash since the update. 8)
-
Is that why code completion was crashing on me?
No.
-
Is that why code completion was crashing on me?
No.
I guess I'll go back through things like my toolbar addition and see if I missed something in the switch to wxAUI or something. Although I haven't had any problems for a while now. Maybe it working now is the result of some bug fix that just wasn't affecting anyone else in this way.