Page MenuHomeFreeBSD

D55072.diff
No OneTemporary

D55072.diff

diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile
--- a/cddl/lib/libzpool/Makefile
+++ b/cddl/lib/libzpool/Makefile
@@ -280,7 +280,6 @@
CFLAGS+= -I${SRCTOP}/lib/libpthread/thread
CFLAGS+= -I${SRCTOP}/lib/libpthread/sys
CFLAGS+= -I${SRCTOP}/lib/libthr/arch/${MACHINE_CPUARCH}/include
-CFLAGS.gcc+= -fms-extensions
LIBADD= md pthread z spl icp nvpair avl umem
diff --git a/cddl/usr.bin/ztest/Makefile b/cddl/usr.bin/ztest/Makefile
--- a/cddl/usr.bin/ztest/Makefile
+++ b/cddl/usr.bin/ztest/Makefile
@@ -27,7 +27,6 @@
# Since there are many asserts in this program, it makes no sense to compile
# it without debugging.
CFLAGS+= -g -DDEBUG=1 -Wno-format -DZFS_DEBUG=1
-CFLAGS.gcc+= -fms-extensions
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
diff --git a/cddl/usr.sbin/zdb/Makefile b/cddl/usr.sbin/zdb/Makefile
--- a/cddl/usr.sbin/zdb/Makefile
+++ b/cddl/usr.sbin/zdb/Makefile
@@ -23,7 +23,6 @@
LIBADD= nvpair umem zdb zfs_core zfs spl avl zutil zpool crypto pthread
-CFLAGS.gcc+= -fms-extensions
# Since there are many asserts in this program, it makes no sense to compile
# it without debugging.
CFLAGS+= -g -DDEBUG=1 -DZFS_DEBUG=1
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -78,10 +78,9 @@
CFLAGS+= ${INCLUDES} -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h
CFLAGS_PARAM_INLINE_UNIT_GROWTH?=100
CFLAGS_PARAM_LARGE_FUNCTION_GROWTH?=1000
-CFLAGS.gcc+= -fms-extensions -finline-limit=${INLINE_LIMIT}
+CFLAGS.gcc+= -finline-limit=${INLINE_LIMIT}
CFLAGS.gcc+= --param inline-unit-growth=${CFLAGS_PARAM_INLINE_UNIT_GROWTH}
CFLAGS.gcc+= --param large-function-growth=${CFLAGS_PARAM_LARGE_FUNCTION_GROWTH}
-CFLAGS.gcc+= -fms-extensions
.if defined(CFLAGS_ARCH_PARAMS)
CFLAGS.gcc+=${CFLAGS_ARCH_PARAMS}
.endif
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -135,7 +135,6 @@
CFLAGS+= -I. -I${SYSDIR} -I${SYSDIR}/contrib/ck/include
CFLAGS.gcc+= -finline-limit=${INLINE_LIMIT}
-CFLAGS.gcc+= -fms-extensions
CFLAGS.gcc+= --param inline-unit-growth=100
CFLAGS.gcc+= --param large-function-growth=1000
diff --git a/sys/crypto/ccp/ccp_hardware.h b/sys/crypto/ccp/ccp_hardware.h
--- a/sys/crypto/ccp/ccp_hardware.h
+++ b/sys/crypto/ccp/ccp_hardware.h
@@ -259,7 +259,7 @@
*/
struct ccp_desc {
- union dword0 {
+ union {
struct {
uint32_t hoc:1; /* Halt on completion */
uint32_t ioc:1; /* Intr. on completion */
@@ -382,7 +382,7 @@
uint32_t length;
uint32_t src_lo;
- struct dword3 {
+ struct {
uint32_t src_hi:16;
uint32_t src_mem:2;
uint32_t lsb_ctx_id:8;
@@ -390,12 +390,12 @@
uint32_t src_fixed:1;
};
- union dword4 {
+ union {
uint32_t dst_lo; /* NON-SHA */
uint32_t sha_len_lo; /* SHA */
};
- union dword5 {
+ union {
struct {
uint32_t dst_hi:16;
uint32_t dst_mem:2;
@@ -407,7 +407,7 @@
uint32_t key_lo;
- struct dword7 {
+ struct {
uint32_t key_hi:16;
uint32_t key_mem:2;
uint32_t reserved_5:14;
diff --git a/sys/modules/ccp/Makefile b/sys/modules/ccp/Makefile
--- a/sys/modules/ccp/Makefile
+++ b/sys/modules/ccp/Makefile
@@ -10,9 +10,6 @@
SRCS+= cryptodev_if.h
SRCS+= pci_if.h
-CFLAGS+= -fms-extensions
-CFLAGS.clang+= -Wno-microsoft-anon-tag
-
MFILES= kern/bus_if.m kern/device_if.m opencrypto/cryptodev_if.m \
dev/pci/pci_if.m
diff --git a/sys/modules/iser/Makefile b/sys/modules/iser/Makefile
--- a/sys/modules/iser/Makefile
+++ b/sys/modules/iser/Makefile
@@ -17,7 +17,6 @@
CFLAGS+= ${LINUXKPI_INCLUDES}
CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM
CFLAGS+= -DINET6 -DINET
-CFLAGS+= -fms-extensions
CFLAGS+=-DICL_KERNEL_PROXY
diff --git a/sys/modules/pms/Makefile b/sys/modules/pms/Makefile
--- a/sys/modules/pms/Makefile
+++ b/sys/modules/pms/Makefile
@@ -17,7 +17,6 @@
${SRCTOP}/sys/dev/pms/freebsd/driver/common
CFLAGS+=-fno-builtin
-CFLAGS+=-fms-extensions
CFLAGS+=-Wredundant-decls
CFLAGS+=-Wunused-variable
diff --git a/sys/powerpc/conf/dpaa/config.dpaa b/sys/powerpc/conf/dpaa/config.dpaa
--- a/sys/powerpc/conf/dpaa/config.dpaa
+++ b/sys/powerpc/conf/dpaa/config.dpaa
@@ -2,7 +2,7 @@
files "dpaa/files.dpaa"
makeoptions DPAA_COMPILE_CMD="${LINUXKPI_C} ${DPAAWARNFLAGS} \
- -Wno-cast-qual -Wno-unused-function -Wno-init-self -fms-extensions \
+ -Wno-cast-qual -Wno-unused-function -Wno-init-self \
-include $S/contrib/ncsw/build/dflags.h \
-Wno-error=missing-prototypes \
-I$S/contrib/ncsw/build/ \

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 5:11 PM (3 h, 46 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30971065
Default Alt Text
D55072.diff (4 KB)

Event Timeline