unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Mac OS X Lion: `externally-visible` causes zillions of warnings
@ 2022-07-24 11:31 Werner LEMBERG
  2022-07-24 11:49 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Werner LEMBERG @ 2022-07-24 11:31 UTC (permalink / raw)
  To: emacs-devel


Compiling emacs master (2024136d31e) on a Mac OS X Lion box with the
system's `/usr/bin/clang` compiler, there are many warnings like the
following.

```
In file included from dispnew.c:27:
./lisp.h:69:1: warning: unknown attribute 'externally_visible' ignored [-Wattributes]
DEFINE_GDB_SYMBOL_BEGIN (int, GCTYPEBITS)
^
./lisp.h:55:51: note: expanded from macro 'DEFINE_GDB_SYMBOL_BEGIN'
# define DEFINE_GDB_SYMBOL_BEGIN(type, id) extern DECLARE_GDB_SYM (type, id)
                                                  ^
./lisp.h:50:49: note: expanded from macro 'DECLARE_GDB_SYM'
#define DECLARE_GDB_SYM(type, id) type const id EXTERNALLY_VISIBLE
                                                ^
./conf_post.h:281:28: note: expanded from macro 'EXTERNALLY_VISIBLE'
#define EXTERNALLY_VISIBLE _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
                           ^
./config.h:2542:59: note: expanded from macro '_GL_ATTRIBUTE_EXTERNALLY_VISIBLE'
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
```

As mentioned in another e-mail, this increases the log size by a
factor of 200.

`/usr/bin/clang` identifies itself as

```
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
```


    Werner



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

* Re: Mac OS X Lion: `externally-visible` causes zillions of warnings
  2022-07-24 11:31 Mac OS X Lion: `externally-visible` causes zillions of warnings Werner LEMBERG
@ 2022-07-24 11:49 ` Eli Zaretskii
  2022-07-24 12:19   ` Werner LEMBERG
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2022-07-24 11:49 UTC (permalink / raw)
  To: Werner LEMBERG; +Cc: emacs-devel

> Date: Sun, 24 Jul 2022 11:31:59 +0000 (UTC)
> From: Werner LEMBERG <wl@gnu.org>
> 
> 
> Compiling emacs master (2024136d31e) on a Mac OS X Lion box with the
> system's `/usr/bin/clang` compiler, there are many warnings like the
> following.

Please report that using "M-x report-emacs-bug RET".  This list is not
meant for reporting build problems, at least not as a rule, and is not
suited well for tracking issues reported here.

Thanks.



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

* Re: Mac OS X Lion: `externally-visible` causes zillions of warnings
  2022-07-24 11:49 ` Eli Zaretskii
@ 2022-07-24 12:19   ` Werner LEMBERG
  2022-07-24 12:25     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Werner LEMBERG @ 2022-07-24 12:19 UTC (permalink / raw)
  To: eliz; +Cc: emacs-devel

>> Compiling emacs master (2024136d31e) on a Mac OS X Lion box with the
>> system's `/usr/bin/clang` compiler, there are many warnings like the
>> following.
> 
> Please report that using "M-x report-emacs-bug RET".  This list is not
> meant for reporting build problems, at least not as a rule, and is not
> suited well for tracking issues reported here.
> 
> Thanks.

Ah, I forgot, sorry.  Done now.

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56736


    Werner



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

* Re: Mac OS X Lion: `externally-visible` causes zillions of warnings
  2022-07-24 12:19   ` Werner LEMBERG
@ 2022-07-24 12:25     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2022-07-24 12:25 UTC (permalink / raw)
  To: Werner LEMBERG; +Cc: emacs-devel

> Date: Sun, 24 Jul 2022 12:19:12 +0000 (UTC)
> Cc: emacs-devel@gnu.org
> From: Werner LEMBERG <wl@gnu.org>
> 
> > Please report that using "M-x report-emacs-bug RET".  This list is not
> > meant for reporting build problems, at least not as a rule, and is not
> > suited well for tracking issues reported here.
> > 
> > Thanks.
> 
> Ah, I forgot, sorry.  Done now.

Thank you.



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

end of thread, other threads:[~2022-07-24 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24 11:31 Mac OS X Lion: `externally-visible` causes zillions of warnings Werner LEMBERG
2022-07-24 11:49 ` Eli Zaretskii
2022-07-24 12:19   ` Werner LEMBERG
2022-07-24 12:25     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).