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

Daniel Kegel dank@kegel.com
Tue Mar 22 01:46:00 GMT 2005


I get the following gcc-4.0 warnings building glibc-2.3-20050307:

argp-fmtstream.c:109: warning: left-hand operand of comma expression has no effect
argp-fmtstream.c:302: warning: left-hand operand of comma expression has no effect
argp-fmtstream.c:371: warning: left-hand operand of comma expression has no effect
bb_exit_func.c:55: warning: left-hand operand of comma expression has no effect
bb_exit_func.c:64: warning: left-hand operand of comma expression has no effect
bb_exit_func.c:65: warning: left-hand operand of comma expression has no effect
bb_exit_func.c:69: warning: left-hand operand of comma expression has no effect
bb_exit_func.c:71: warning: left-hand operand of comma expression has no effect
tzfile.c:188: warning: left-hand operand of comma expression has no effect
tzfile.c:228: warning: left-hand operand of comma expression has no effect
tzfile.c:235: warning: left-hand operand of comma expression has no effect
tzfile.c:237: warning: left-hand operand of comma expression has no effect
tzfile.c:263: warning: left-hand operand of comma expression has no effect
tzfile.c:278: warning: left-hand operand of comma expression has no effect
tzfile.c:284: warning: left-hand operand of comma expression has no effect
tzfile.c:288: warning: left-hand operand of comma expression has no effect

These are probably obscure coding errors that earlier gcc's didn't notice.
Has anyone looked at these yet?
- Dan



More information about the Libc-alpha mailing list