[haiku-development] Re: gcc4 failure

  • From: clemens.zeidler@xxxxxxxxxxxxxx
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 18 Jul 2011 12:12:35 +1200

> Somehow I seem to keep running into these baffling problems!
> 
> I just picked up patch r42441 and decided I might as well do a hybrid 
> build,
> so I'd have a nicely updated image.  The gcc2-build part went through 
> fine
> (so I have the libtracker.so I needed), but when it went to the gcc4 
> part,
> it died:
> 
> 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'
> /BFS_User/haiku/haiku/src/kits/tracker/ContainerWindow.cpp:159: 
> error: expected ')' before 'lse'
> /BFS_User/haiku/haiku/src/kits/tracker/ContainerWindow.cpp:164: 
> error: expected primary-expression before '}' token
> /BFS_User/haiku/haiku/src/kits/tracker/ContainerWindow.cpp:164: 
> error: expected ';' before '}' token
> cc1plus: warnings being treated as errors
> /BFS_User/haiku/haiku/src/kits/tracker/ContainerWindow.cpp:164: 
> error: no return statement in function returning non-void
> /BFS_User/haiku/haiku/src/kits/tracker/ContainerWindow.cpp: At global 
> scope:
> /BFS_User/haiku/haiku/src/kits/tracker/ContainerWindow.cpp:351: 
> error: expected '}' at end of input
> 
> ... 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? try to delete the file and do a svn up...
Regards,
        Clemens



Other related posts: