From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id D8C9AF956 for ; Sun, 15 Jan 2017 20:48:48 +0100 (CET) Received: by mail-wm0-f66.google.com with SMTP id d140so9505731wmd.2 for ; Sun, 15 Jan 2017 11:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=NgPSGRJVVvtSzmlheQZzhg0NgzFsMtRlMrP97+EuOZM=; b=j5+yvIoOINXbclDtWYlLXx9DgrkdtZULrw/2xZ4Pu+duSO6vkpvxahwV847MXBVLpE Vpdjj3Z/fJRyabqweBxoBsenBIkSzjztDRgN/Lj/eG7zKp9fnjS2eMOtFrOkEhJiy/u9 bqC1g61yGrpX4x4BTH70CIoRXbrjyEidFoKyQwNICOEkbqLCCwoqyLR7jsEML+TNNEh5 mNqfhQiu1tuODX92LUFTun7GEDZ8wXPDZX7VusTHGZfEE8EQobd+g/+0u4JTwA3lVlys /N07hn7RnEzVrGK2TLx/rC07k5WxOH1tYvGvvtqEykLbADtWXVpJAO8Z6TiFGkOjPXu8 dINA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=NgPSGRJVVvtSzmlheQZzhg0NgzFsMtRlMrP97+EuOZM=; b=cTMbplY79dkMW+nMBTDImCi5ZU8qTp83ZnP8tg+Aw+a3NlDtSEvUQWAoJ7xytBiBEd J/LDgxRFBvzq2jDJGPe43/Ow1XoXqG0JZtGFKxVxFS/KlXUomL+I3zdtH2BaFmE3fB56 yQg2OlflBHHhhTzGdwEtTOlyLyDMdU7Jpm5SFJ+xp2fcCDFBZGaefwQjPvu9Ukf0cBYi nJBi6GKG89Zvcel4AZxZeLIp1C1rPjpIX92VxVYMdsm6rF8NxwbbZ0Hva5+9vXUEtUd3 G8Cqv64ykUaSDEtLy7ciLx52Q+bQlI8jFXYw4yIkpinpZLAA5JOTMeGBHFPnj7a+U6gP S0Hg== X-Gm-Message-State: AIkVDXJOeKa2fi8gYyGyFR+lLwZ9IVEdx2ysA+GjAskQB7cAlrls5EO2O4pgRovvD00EHw== X-Received: by 10.223.164.7 with SMTP id d7mr4879730wra.70.1484509728579; Sun, 15 Jan 2017 11:48:48 -0800 (PST) Received: from emmanuel-Aspire-E5-571.primacom.net ([185.44.151.137]) by smtp.gmail.com with ESMTPSA id f76sm23181304wmd.15.2017.01.15.11.48.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 15 Jan 2017 11:48:47 -0800 (PST) From: Emmanuel Roullit To: thomas.monjalon@6wind.com Cc: dev@dpdk.org Date: Sun, 15 Jan 2017 20:47:55 +0100 Message-Id: <1484509675-15075-1-git-send-email-emmanuel.roullit@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] mk: suppress reference of packed members X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 19:48:49 -0000 error: taking address of packed member 'mlock' of class or structure 'rte_mem_config' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member] Signed-off-by: Emmanuel Roullit --- mk/toolchain/clang/rte.vars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/toolchain/clang/rte.vars.mk b/mk/toolchain/clang/rte.vars.mk index 7749b99..04746be 100644 --- a/mk/toolchain/clang/rte.vars.mk +++ b/mk/toolchain/clang/rte.vars.mk @@ -67,7 +67,7 @@ WERROR_FLAGS := -W -Wall -Wstrict-prototypes -Wmissing-prototypes WERROR_FLAGS += -Wmissing-declarations -Wold-style-definition -Wpointer-arith WERROR_FLAGS += -Wnested-externs -Wcast-qual WERROR_FLAGS += -Wformat-nonliteral -Wformat-security -WERROR_FLAGS += -Wundef -Wwrite-strings +WERROR_FLAGS += -Wundef -Wwrite-strings -Wno-address-of-packed-member ifeq ($(RTE_DEVEL_BUILD),y) WERROR_FLAGS += -Werror -- 1.9.1