[haiku-development] Re: gcc4 failure

  • From: pete.goodeve@xxxxxxxxxxxx
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 17 Jul 2011 22:59:48 -0700

On Mon, Jul 18, 2011 at 12:12:35PM +1200, clemens.zeidler@xxxxxxxxxxxxxx wrote:
> > Somehow I seem to keep running into these baffling problems!
> > 
> > 
> > C++ /BFS_User/haiku/haiku/generated.
> > x86gcc4/objects/haiku/x86/release/kits/tracker/ContainerWindow.o 
> > /BFS_User/haiku/haiku/src/kits/tracker/ContainerWindow.cpp:159:14: 
> > error: null character(s) ignored
> > /BFS_User/haiku/haiku/src/kits/tracker/ContainerWindow.cpp: In 
> > function 'filter_result BPrivate::ActivateWindowFilter(BMessage*, 
> BHandler**, BMessageFilter*)':
> > /BFS_User/haiku/haiku/src/kits/tracker/ContainerWindow.cpp:159: 
> > error: 'class BView' has no member named 'Wi'
> > [....]
> > ... everything seeming to follow from that "null character".
> > However, I scanned the file for a null, even did od -c and looked at 
> > the
> > line in question.  There *is* no null character!
> 
> did you check line 159
Yes, of course.  It is just:
                && view->Window())

You can see that gcc thinks there's a null at char 14 -- i.e. after "Wi".
In fact, 'od -c' shows that line as quite intact and as printed.  No null.

>                         try to delete the file and do a svn up...
I don't think that would have any effect. By every (other) test, the file
is correct.

        -- Pete --


Other related posts: