all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Charles A. Roelli" <charles@aurox.ch>
To: Anders Lindgren <andlind@gmail.com>
Cc: Paul Michael Reilly <pmr@pajato.com>,
	Alan Third <alan@idiocy.org>,
	Jean-Christophe Helary <jean.christophe.helary@gmail.com>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Mac OS Sierra tab feature breaks C-x 5 2
Date: Tue, 18 Jul 2017 20:33:05 +0200	[thread overview]
Message-ID: <e6be1e89-14a9-da0a-7d15-3f29dd37e91f@aurox.ch> (raw)
In-Reply-To: <CABr8ebb788TSgj=GgP26_nOK6O2SznZaDx9bTQOgxmYfkz321g@mail.gmail.com>

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

It does seem to be gcc:

(snippet from output of 'make V=1' when compiling src/nsterm.m):
gcc -std=gnu99 -c -Demacs -I. -I. -I../lib -I../lib -D_REENTRANT -I
[...]  -MMD -MF deps/nsterm.d -MP -O0 -g3 nsterm.m


And IIRC 'gcc' is symlinked to 'clang' on later macOS versions.


On 18/07/2017 08:06, Anders Lindgren wrote:
> Hi Charles, thanks for replying!
>
> Yes, that is what I saw as well. The question is which compiler is 
> used (by default) when building Emacs on 10.6. I guess it is "gcc", 
> but I didn't have time to verify this.
>
>     -- Anders
>
> On Mon, Jul 17, 2017 at 10:09 PM, Charles A. Roelli <charles@aurox.ch 
> <mailto:charles@aurox.ch>> wrote:
>
>     clang and gcc seem different on 10.6 (can't say for certain, though):
>
>
>     $ which gcc
>     /usr/bin/gcc
>     $ gcc --version
>     i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
>     build 5658) (LLVM build 2335.15.00)
>     Copyright (C) 2007 Free Software Foundation, Inc.
>     This is free software; see the source for copying conditions.
>     There is NO
>     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>     PURPOSE.
>
>     $ which clang
>     /usr/bin/clang
>     $ clang --version
>     Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM
>     3.0svn)
>     Target: x86_64-apple-darwin10.8.0
>     Thread model: posix
>
>
>
>
>
>     On 17/07/2017 01:01, Alan Third wrote:
>
>         On Sun, Jul 16, 2017 at 08:43:25PM +0200, Anders Lindgren wrote:
>
>             I tried to figure out if gcc or clang was used when
>             building on 10.6.8, but
>             ran out of time (and won't have the chance to do it again
>             anytime soon). I
>             did conclude that it comes with both a real "gcc" and a
>             real "clang", so
>             presumably gcc is used. (Surprisingly, more modern
>             versions of macOS seems
>             to map the command "gcc" to "clang".)
>
>         Charles can maybe answer this for us, as he uses 10.6.
>
>             A warning-free build is a must on modern system (which use
>             clang). It would
>             be nice on older system, I guess, but it would be hard to
>             enforce. (We
>             could even lobby to add the option to future gcc versions,
>             for the benefit
>             of GNUStep, but it would not help the situation on older
>             macOS versions.)
>             My gut feeling is to go with the
>             NS_SILENCE_MISSING_METHOD_WARNING_BEGIN
>             solution, as it work on modern macOS systems, it retains
>             type checking, and
>             it give us a single location to describe the situation and
>             to modify the
>             macro, if there should be a need for it in the future.
>
>         Agreed.
>
>         I think that a lot (if not most) of the code that we might
>         want to use
>         this on won’t work on GNUstep at all, so we could still exclude it
>         from building there if the warnings are too much.
>
>
>


[-- Attachment #2: Type: text/html, Size: 5479 bytes --]

  reply	other threads:[~2017-07-18 18:33 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 11:29 Mac OS Sierra tab feature breaks C-x 5 2 Paul Michael Reilly
2017-07-06 12:14 ` Jean-Christophe Helary
2017-07-06 12:46   ` Sebastian Christ
2017-07-06 12:53 ` Alan Third
2017-07-06 14:35   ` Alan Third
2017-07-06 15:05     ` Jean-Christophe Helary
2017-07-06 17:42       ` Alan Third
2017-07-06 22:16         ` Alan Third
2017-07-10 19:17           ` Anders Lindgren
2017-07-10 19:52             ` Alan Third
2017-07-10 20:22               ` Anders Lindgren
2017-07-12 18:23                 ` Alan Third
2017-07-12 21:20                   ` Anders Lindgren
2017-07-13 20:22                     ` Alan Third
2017-07-16 18:43                       ` Anders Lindgren
2017-07-16 23:01                         ` Alan Third
2017-07-17 20:09                           ` Charles A. Roelli
2017-07-18  6:06                             ` Anders Lindgren
2017-07-18 18:33                               ` Charles A. Roelli [this message]
2017-07-18 22:16                                 ` Alan Third
2017-07-19  4:57                                   ` Charles A. Roelli
2017-07-21 20:31                                     ` Anders Lindgren
2017-07-22 11:22                                       ` Alan Third
2017-07-23 12:17                                         ` NS runtime feature detection (was: Mac OS Sierra tab feature breaks C-x 5 2) Alan Third
2017-07-24 19:02                                           ` NS runtime feature detection Charles A. Roelli
2017-07-24 20:44                                             ` bug#27810: " Alan Third
2017-07-24 20:53                                               ` Glenn Morris
2017-07-25 17:56                                                 ` Alan Third
2017-07-25 18:22                                                   ` Charles A. Roelli
2017-07-25 20:08                                                     ` Anders Lindgren
2017-07-26 21:57                                               ` Alan Third
2017-07-31 19:05                                                 ` Charles A. Roelli
2017-08-01 15:38                                                   ` Anders Lindgren
2017-08-01 22:03                                                     ` Alan Third
2017-08-06 20:29                                                       ` Charles A. Roelli
2017-08-06 21:29                                                         ` Alan Third
2017-08-07 19:23                                                           ` Charles A. Roelli
2017-08-10 21:04                                                             ` Alan Third
2017-08-12 11:13                                                               ` Charles A. Roelli
2017-08-12 13:02                                                                 ` Charles A. Roelli
2017-08-16 20:31                                                                   ` Alan Third
2017-08-12 15:51                                                                 ` Alan Third
2017-09-12 20:01                                                                   ` David Caldwell
2017-09-12 20:06                                                                     ` David Reitter
2017-09-12 20:34                                                                       ` Alan Third
2017-09-12 20:29                                                                     ` Alan Third
2017-09-13 19:03                                                                       ` Charles A. Roelli
2017-07-24 20:45                                             ` Alan Third
2017-07-23 22:35                                         ` Mac OS Sierra tab feature breaks C-x 5 2 Tim Cross
  -- strict thread matches above, loose matches on Subject: below --
2017-07-06 17:24 Matthew Bauer
2017-07-24 20:22 bug#27810: macOS runtime feature detection Alan Third
2017-07-26  2:59 ` Richard Stallman
2017-07-26 16:06   ` Alan Third
2017-07-27  1:43     ` Richard Stallman
2017-07-27 17:31       ` Eli Zaretskii
2017-07-28 17:14         ` Richard Stallman
2017-07-28 17:36           ` Eli Zaretskii
2017-07-29 19:04             ` Richard Stallman
2017-07-31  0:45               ` Richard Stallman
2017-07-29 19:07     ` Richard Stallman
2017-07-30 12:12       ` Alan Third
2017-07-30 14:15         ` Eli Zaretskii
2017-07-31  0:47         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6be1e89-14a9-da0a-7d15-3f29dd37e91f@aurox.ch \
    --to=charles@aurox.ch \
    --cc=alan@idiocy.org \
    --cc=andlind@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jean.christophe.helary@gmail.com \
    --cc=pmr@pajato.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.