You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just fixed one case of signed/unsigned char problem, with getopt_long. Not enough info in this problem description to know if there are other instances.
From edvinas.stunzenas on September 05, 2012 08:11:18
By default ARM processors typically use unsigned char for char type. That why signed char use must be forced.
I used arm-linux-gcc-4.2.1 compiler.
Submitting patch for this problem to solve:
diff -r dafbddb0e039 src/Makefile.in
--- a/src/Makefile.in Mon Aug 20 14:35:58 2012 -0700
+++ b/src/Makefile.in Wed Sep 05 18:08:55 2012 +0300
@@ -266,7 +266,7 @@
Specify the sources and various flags for the iperf binary
iperf3_SOURCES = main.c
-iperf3_CFLAGS = -g -Wall
+iperf3_CFLAGS = -g -Wall -funsigned-char
iperf3_LDADD = libiperf.a
iperf3_LDFLAGS =
Tested with:
arm-linux-gcc-4.2.1
mipsel-linux-gcc-4.1.2
Original issue: http://code.google.com/p/iperf/issues/detail?id=49
The text was updated successfully, but these errors were encountered: