gcc-4.0 warning building glibc-2.3-20050307: "warning: left-hand operand of comma expression has no effect"

Dan Kegel dank@kegel.com
Tue Mar 22 03:40:00 GMT 2005


Roland McGrath wrote:
>>I get the following gcc-4.0 warnings building glibc-2.3-20050307:
> 
> 
> 2.3 can't be built with gcc 4.  

I've got it building fairly well.  Only a few patches were needed.
Haven't run the regression tests, though.

> These particular warnings are a gcc bug, though.

Has a gcc bug been filed already?  If not, I can
try to put together minimal test cases, and if
they turn out to be real, file a bug.

(Generally, when I've seen that error
building random applications with earlier gcc's,
gcc has been right.  I can certainly imagine gcc-4.0
being wrong, though.)
- Dan


-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html



More information about the Libc-alpha mailing list