All of lore.kernel.org
 help / color / mirror / Atom feed
* Build ell with clang
@ 2016-12-14 22:51 ell
  2016-12-14 22:51 ` [PATCH 1/4] autotools: Only used -Wcast-align with gcc ell
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: ell @ 2016-12-14 22:51 UTC (permalink / raw)
  To: ell

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

Hello,

the following patchseries allows ell to be build with clang.
For clang -Wcast-align has to be removed. I asked about this on
#llvm(a)irc.oftc.net and was told, this is the best option.
They also told me that gcc only actually produces a warning, if the
compilation target does not support unaligned access at all, so for x86
the option does nothing.
It may well be, that gcc will error out as well, if such an architecture
were to be targeted.
It may be better to remove -Wcast-align completely instead of making it
gcc specific, as this patch does.

Regards,
Markus


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-12-15  7:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-14 22:51 Build ell with clang ell
2016-12-14 22:51 ` [PATCH 1/4] autotools: Only used -Wcast-align with gcc ell
2016-12-15  5:21   ` Denis Kenzior
2016-12-15  6:57   ` Marcel Holtmann
2016-12-15  7:48     ` Markus Ongyerth
2016-12-14 22:51 ` [PATCH 2/4] dbus: Make adjustments for compilation with clang ell
2016-12-14 22:51 ` [PATCH 3/4] dbus: Add missing dereference on assign ell
2016-12-14 22:51 ` [PATCH 4/4] tls-record: remove unnecessary null-pointer check ell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.