unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
To: Vitalie Spinu <spinuvit@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: How to silence "Unknown slot" compiler warnings?
Date: Mon, 15 Feb 2016 15:13:09 -0600	[thread overview]
Message-ID: <86mvr1smmy.fsf@stephe-leake.org> (raw)
In-Reply-To: <8760xpn30p.fsf@gmail.com> (Vitalie Spinu's message of "Mon, 15 Feb 2016 21:15:50 +0100")

Vitalie Spinu <spinuvit@gmail.com> writes:

> I am getting loads of "Unknown slot" messages during compilation of my
> package. Why are they happening and how can I silence them?

They happen because the byte compiler is pickier than you are about how
to spell the names of the slots.

> My use case is simple, define a class, create an object of that class and store
> it in buffer local variable. Now, all instances of oref, oset and macros that
> operate on those objects generate this warning.

Please post the code (or at least some of it), and the warnings.

-- 
-- Stephe



  reply	other threads:[~2016-02-15 21:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15 20:15 How to silence "Unknown slot" compiler warnings? Vitalie Spinu
2016-02-15 21:13 ` Stephen Leake [this message]
2016-02-16  0:22   ` Vitalie Spinu
2016-02-16  5:38     ` Eric Abrahamsen
     [not found]       ` <871t8dase0.fsf@gmail.com>
2016-02-16 14:15         ` Eric Abrahamsen
2016-02-16 14:51           ` Stephen Leake
2016-02-21  2:05     ` Stefan Monnier
2016-02-21  4:13       ` Eric Abrahamsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86mvr1smmy.fsf@stephe-leake.org \
    --to=stephen_leake@stephe-leake.org \
    --cc=emacs-devel@gnu.org \
    --cc=spinuvit@gmail.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 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).