Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Initially reported by degreane while trying out FC21 beta. I also saw with g++ 4.9.2 on FC21 beta.
/usr/bin/cc -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -std=gnu99 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -fstrict-aliasing -O2 -pipe -Wno-parentheses -fPIC -I/opt/FireWall/.mytmp/trafficserver/lib/ck/include -I/opt/FireWall/.mytmp/trafficserver/lib/ck/include -m64 -D_x86_64_ -c -o /opt/FireWall/.mytmp/trafficserver/lib/ck/src/ck_barrier_centralized.o /opt/FireWall/.mytmp/trafficserver/lib/ck/src/ck_barrier_centralized.c
In file included from /usr/include/limits.h:25:0,
from /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:168,
from /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:34,
from /opt/FireWall/.mytmp/trafficserver/lib/ck/include/ck_limits.h:30,
from /opt/FireWall/.mytmp/trafficserver/lib/ck/include/spinlock/anderson.h:31,
from /opt/FireWall/.mytmp/trafficserver/lib/ck/include/ck_spinlock.h:30,
from /opt/FireWall/.mytmp/trafficserver/lib/ck/include/ck_barrier.h:31,
from /opt/FireWall/.mytmp/trafficserver/lib/ck/src/ck_barrier_centralized.c:28:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
- warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
Plus a few more similar lines. Faysal confirms that changing the define flags as suggested fixes the warning, but I don't immediately see what to fix up so the corrected Makefile is generated.
amc suggests that Phil is most familiar with this package.
Attachments
Issue Links
- is related to
-
TS-2959 Compiler warnings from gcc 4.9.1
- Closed