all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Madhu <enometh@meer.net>
Cc: emacs-devel@gnu.org
Subject: Re: obscure compilation error with cl-defstruct &aux boa constructor
Date: Sun, 17 Apr 2022 11:16:30 -0400	[thread overview]
Message-ID: <jwvtuarzrem.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3y205yo11.fsf@leonis4.robolove.meer.net> (Madhu's message of "Sat, 16 Apr 2022 22:16:18 +0530")

Madhu [2022-04-16 22:16:18] wrote:
>       byte-code("#!E\"" [set-advertised-calling-convention cl-prettyexpand (form) "27.1" require help-mode add-to-list describe-symbol-backends nil cl-find-class #[771 "!" [cl-describe-type] 5 "\n\n(fn S B F)"]] 5)
>       cl-subseq((&cl-defs (nil (cl-tag-slot) (stack) (ppss) (ppss-point)) &optional (ppss (lisp-ppss)) &aux (ppss-point (point)) (stack (make-list (1+ (car ppss)) nil))) 0 4)

It looks like some frames are missing between these two.

> The error goes away if I remove the &aux (and thus make all the
> arguments optional)

I must say that seeing your backtrace I can't understand why your code
doesn't work or rather why our code works (the call to `cl-subseq`
depends on the presence of `&aux` which is already present in our code).

> Might this be a bug from a recent change? (I've not looked at the
> changes yet, so this is a note to self)

The bootstrap is delicate and ad-hoc.
Sometimes innocuous changes can break it.


        Stefan




  reply	other threads:[~2022-04-17 15:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-16 16:46 obscure compilation error with cl-defstruct &aux boa constructor Madhu
2022-04-17 15:16 ` Stefan Monnier [this message]
2022-04-18  2:44   ` Madhu

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=jwvtuarzrem.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=enometh@meer.net \
    /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.