bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42664: feature/native-comp; cc-defs.el: c-lang-const Symbol's functi


From: Tom Gillespie
Subject: bug#42664: feature/native-comp; cc-defs.el: c-lang-const Symbol's function definition is void: cc-bytecomp-is-compiling
Date: Sun, 2 Aug 2020 12:44:05 -0700

Hi Andrea,
   Confirming fixed on my end. Thanks!
Tom

On Sun, Aug 2, 2020 at 8:55 AM Andrea Corallo <akrl@sdf.org> wrote:
>
> Tom Gillespie <tgbugs@gmail.com> writes:
>
> > When trying to byte compile on 28.0.50 on the feature/native-comp branch at
> > 7a161dc688f0eeee64e307a55efbc7d11bab3627 I encountered the following
> > error message:
> > Symbol's function definition is void: cc-bytecomp-is-compiling.
> >
> > This is not an issue on master at 9f01ce6327af886f26399924a9aadf16cdd4fd9f.
> >
> > To repro run the following.
> >
> > #+begin_src bash
> > emacs -q -batch --no-site-file --eval '(progn (with-temp-buffer
> > (insert "(c-lang-const c-matchers-1 c)") (write-file "oh-no.el"))
> > (require '"'"'cc-defs) (byte-compile-file "oh-no.el"))'
> > #+end_src
> >
> >
> > Or in emacs launched with =emacs -q --no-site-file= run =M-x ielm= and then
> >
> > #+begin_src ielm
> > (with-temp-buffer (insert "(c-lang-const c-matchers-1 c)") (write-file
> > "oh-no.el"))
> > (require 'cc-defs)
> > (byte-compile-file "oh-no.el")
> > #+end_src
> >
> > Testing against master on in the emacs git repo via the following
> > produces no error.
> > ./autogen.sh
> > ./configure
> > make -j 8
> > src/emacs -q -batch --no-site-file --load lisp/progmodes/cc-defs.el
> > --load lisp/progmodes/cc-fonts.el --eval '(progn (with-temp-buffer
> > (insert "(c-lang-const c-matchers-1 c)") (write-file "oh-no.el"))
> > (require '"'"'cc-defs) (byte-compile-file "oh-no.el"))'
> >
> > The output of
> > git diff 9f01ce6327af886f26399924a9aadf16cdd4fd9f
> > 7a161dc688f0eeee64e307a55efbc7d11bab3627 -- lisp/progmodes
> > suggests that something similarly strange may be going on in this case.
>
> Hi Tom,
>
> "80d7f710f2 * Fix defsubst missing inline Bug#42664" does the job for
> me.
>
> Would you check is effective for you too?
>
> Thanks for the report.
>
>   Andrea
>
> --
> akrl@sdf.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]