This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
gcc-4.0 warning building glibc-2.3-20050307: "warning: left-handoperand of comma expression has no effect"
- From: Daniel Kegel <dank at kegel dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 21 Mar 2005 17:45:53 -0800
- Subject: gcc-4.0 warning building glibc-2.3-20050307: "warning: left-handoperand of comma expression has no effect"
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