* Dynamic Compile: CL Triggers Bug
@ 2002-08-03 0:27 TV Raman
0 siblings, 0 replies; only message in thread
From: TV Raman @ 2002-08-03 0:27 UTC (permalink / raw)
This bug is present in both Emacs 20.2 and Emacs 21.
If you use (require 'cl)
and define a structure using defstruct,
and if that file is byte-compiled with byte-compile-dynamic set to t
--then the automatically defined make- constructur throws an invalid
syntax "#" error.
Attached are two files that demonstrate the problem:
test-1.el --byte-compile-dynamic is t --
test-2.el byte-compile-dynamic set to nil
To reproduce the bug:
0) Byte compile both files
emacs -batch -q -f batch-byte-compile <filename>
Load test-1.elc and evaluate the form
(make-test :a 1)
--this will give an error
Now, load test-2.elc and evaluate the same form --no error.
[ATTACHMENT /tmp/test-1.el, application/octet-stream]
[ATTACHMENT /tmp/test-2.el, application/octet-stream]
--
Best Regards,
--raman
------------------------------------------------------------
T. V. Raman: PhD (Cornell University)
IBM Research: Human Language Technologies
Architect: Conversational And Multimodal WWW Standards
Phone: 1 (408) 927 2608 T-Line 457-2608
Fax: 1 (408) 927 3012
Email: tvraman@us.ibm.com
WWW: http://www.cs.cornell.edu/home/raman
AIM: TVRaman
PGP: http://emacspeak.sf.net/raman.asc
Snail: IBM Almaden Research Center,
650 Harry Road
San Jose 95120
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-03 0:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-03 0:27 Dynamic Compile: CL Triggers Bug TV Raman
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.