|
From: | Paul Eggert |
Subject: | bug#29658: asm keyword bug |
Date: | Sun, 10 Dec 2017 23:41:44 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Marcus Johnson wrote:
I'm on a Mac, using Clang (Apple LLVM version 9.0.0 (clang-900.0.38)) in the coreutils "library", the file `explicit_bzero.c`, the build stops because `asm` is not a valid keyword
That's weird, since the Clang manual sports examples with plain 'asm'; see: https://clang.llvm.org/compatibility.html#inline-asmIs there something unusual about your setup that would cause it to reject examples taken out of the Clang documentation? Has Clang's behavior changed recently, for example?
How about if you change the previous line in lib/explicit_bzero.c from this: # ifdef __GNUC__ to this: # if defined __GNUC__ && !defined __clang__ ? Does that fix your problem?
[Prev in Thread] | Current Thread | [Next in Thread] |